Skip to content

Commit

Permalink
Merge pull request #19 from RyanLucchese/rl-enable-mainnet
Browse files Browse the repository at this point in the history
Rl enable mainnet
  • Loading branch information
narek-h authored Apr 30, 2018
2 parents 0d818e8 + dfef83b commit 99dd55c
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"react": "^16.2.0",
"react-dom": "^16.2.0",
"react": "^16.3.2",
"react-dom": "^16.3.2",
"react-scripts": "1.0.17"
},
"scripts": {
Expand All @@ -13,4 +13,4 @@
"test": "react-scripts test --env=jsdom",
"eject": "react-scripts eject"
}
}
}
6 changes: 3 additions & 3 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,8 @@ class App extends Component
this.setState({network: networkName}, function()
{
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 === 'test') this.explorerAPI = 'https://explore.test.energi.network/api/';
//else if (this.state.network === 'test60x') this.explorerAPI = 'https://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 99dd55c

Please sign in to comment.