Skip to content

Commit

Permalink
fixing explorer api urls for testnets
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanLucchese committed Apr 29, 2018
1 parent ca552c7 commit 45b890c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 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

0 comments on commit 45b890c

Please sign in to comment.