Skip to content

Commit

Permalink
Merge pull request #175 from poanetwork/develop-1.x
Browse files Browse the repository at this point in the history
Merge the develop-1.x branch to the master-1.x branch
  • Loading branch information
akolotov authored Dec 26, 2018
2 parents 6e94065 + 1f93798 commit 70bd6cd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/stores/utils/web3.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,13 @@ const explorers = {
3: 'https://ropsten.etherscan.io/',
4: 'https://rinkeby.etherscan.io/',
42:'https://kovan.etherscan.io/',
77:'https://sokol-explorer.poa.network/',
99:'https://poaexplorer.com/'
77:'https://blockscout.com/poa/sokol/',
99:'https://blockscout.com/poa/core/'
}

export const getExplorerUrl = (id) => explorers[id]

export const getAddressUrl = (id) => getExplorerUrl(id) + (id.toString() === '77' ? 'account/' : 'address/')
export const getAddressUrl = (id) => getExplorerUrl(id) + 'address/'

export const getNetworkName = (id) => networks[id] || 'Unknown'

Expand Down

0 comments on commit 70bd6cd

Please sign in to comment.