Skip to content

Commit 70bd6cd

Browse files
authored
Merge pull request #175 from poanetwork/develop-1.x
Merge the develop-1.x branch to the master-1.x branch
2 parents 6e94065 + 1f93798 commit 70bd6cd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/stores/utils/web3.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,13 @@ const explorers = {
5050
3: 'https://ropsten.etherscan.io/',
5151
4: 'https://rinkeby.etherscan.io/',
5252
42:'https://kovan.etherscan.io/',
53-
77:'https://sokol-explorer.poa.network/',
54-
99:'https://poaexplorer.com/'
53+
77:'https://blockscout.com/poa/sokol/',
54+
99:'https://blockscout.com/poa/core/'
5555
}
5656

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

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

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

0 commit comments

Comments
 (0)