mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Restore ropsten link support
This commit is contained in:
parent
606c0b7618
commit
869d731319
@ -1,4 +1,4 @@
|
|||||||
module.exports = function (address, network) {
|
module.exports = function(address, network) {
|
||||||
const net = parseInt(network)
|
const net = parseInt(network)
|
||||||
let link
|
let link
|
||||||
|
|
||||||
@ -7,10 +7,10 @@ module.exports = function (address, network) {
|
|||||||
link = `http://etherscan.io/address/${address}`
|
link = `http://etherscan.io/address/${address}`
|
||||||
break
|
break
|
||||||
case 2: // morden test net
|
case 2: // morden test net
|
||||||
link = `http://testnet.etherscan.io/address/${address}`
|
link = `http://morden.etherscan.io/address/${address}`
|
||||||
break
|
break
|
||||||
case 3: // ropsten test net
|
case 3: // ropsten test net
|
||||||
link = ''
|
link = `http://testnet.etherscan.io/address/${address}`
|
||||||
break
|
break
|
||||||
default:
|
default:
|
||||||
link = ''
|
link = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user