aboutsummaryrefslogtreecommitdiffstats
path: root/ui/lib
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2016-11-23 05:00:13 +0800
committerDan Finlay <dan@danfinlay.com>2016-11-23 05:00:13 +0800
commit869d7313192df9ffa0941c3dc808dc73b812e656 (patch)
tree65644926a406f67b1b3f741e4817017d945c384c /ui/lib
parent606c0b761827df86ded4763a67f38a98738014e8 (diff)
downloadtangerine-wallet-browser-869d7313192df9ffa0941c3dc808dc73b812e656.tar
tangerine-wallet-browser-869d7313192df9ffa0941c3dc808dc73b812e656.tar.gz
tangerine-wallet-browser-869d7313192df9ffa0941c3dc808dc73b812e656.tar.bz2
tangerine-wallet-browser-869d7313192df9ffa0941c3dc808dc73b812e656.tar.lz
tangerine-wallet-browser-869d7313192df9ffa0941c3dc808dc73b812e656.tar.xz
tangerine-wallet-browser-869d7313192df9ffa0941c3dc808dc73b812e656.tar.zst
tangerine-wallet-browser-869d7313192df9ffa0941c3dc808dc73b812e656.zip
Restore ropsten link support
Diffstat (limited to 'ui/lib')
-rw-r--r--ui/lib/account-link.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/lib/account-link.js b/ui/lib/account-link.js
index a29ba5e69..ff52d9c54 100644
--- a/ui/lib/account-link.js
+++ b/ui/lib/account-link.js
@@ -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 = ''