1
0
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:
Dan Finlay 2016-11-22 13:00:13 -08:00
parent 606c0b7618
commit 869d731319

View File

@ -1,4 +1,4 @@
module.exports = function (address, network) {
module.exports = function(address, network) {
const net = parseInt(network)
let link
@ -7,10 +7,10 @@ module.exports = function (address, network) {
link = `http://etherscan.io/address/${address}`
break
case 2: // morden test net
link = `http://testnet.etherscan.io/address/${address}`
link = `http://morden.etherscan.io/address/${address}`
break
case 3: // ropsten test net
link = ''
link = `http://testnet.etherscan.io/address/${address}`
break
default:
link = ''