Skip to content

Commit

Permalink
set default network to main net, enable main net in network selector,…
Browse files Browse the repository at this point in the history
… disable 60x testnet
  • Loading branch information
RyanLucchese committed Apr 29, 2018
1 parent 0d818e8 commit ca552c7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ class App extends Component
{
if (this.state.network === 'main') this.explorerAPI = 'https://explore.energi.network/api/';
else if (this.state.network === 'test') this.explorerAPI = 'http://explore.test.energi.network/api/';
else if (this.state.network === 'test60x') this.explorerAPI = 'http://explore.test60x.energi.network/api/';
//else if (this.state.network === 'test60x') this.explorerAPI = 'http://explore.test60x.energi.network/api/';
else this.setError("Invalid network");

fetchBlockchainInfo();
Expand Down Expand Up @@ -257,7 +257,7 @@ class App extends Component
{
document.title = "Energi Proposal Creator";

this.updateNetwork('test60x');
this.updateNetwork('main');
}

setError(errStr)
Expand Down
4 changes: 2 additions & 2 deletions src/SelectNetwork.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ class SelectNetwork extends Component
getNetworks()
{
let htmlOptionTags = [];
//htmlOptionTags.push(<option value="main"> main </option>);
htmlOptionTags.push(<option value="test60x"> test60x </option>);
htmlOptionTags.push(<option value="main"> main </option>);
//htmlOptionTags.push(<option value="test60x"> test60x </option>);
htmlOptionTags.push(<option value="test"> test </option>);
return htmlOptionTags;
}
Expand Down

0 comments on commit ca552c7

Please sign in to comment.