diff options
author | Kevin Serrano <kevgagser@gmail.com> | 2017-03-23 04:02:17 +0800 |
---|---|---|
committer | Kevin Serrano <kevgagser@gmail.com> | 2017-03-23 04:02:17 +0800 |
commit | c00544de91caec4d76f34aeaf91f025292ae0384 (patch) | |
tree | ed8847bccdfb9b763eab8aee2794a3aba68f240d /ui/lib/explorer-link.js | |
parent | 4116b37d32e467bbd4cbb113851667115d28cf64 (diff) | |
download | tangerine-wallet-browser-c00544de91caec4d76f34aeaf91f025292ae0384.tar tangerine-wallet-browser-c00544de91caec4d76f34aeaf91f025292ae0384.tar.gz tangerine-wallet-browser-c00544de91caec4d76f34aeaf91f025292ae0384.tar.bz2 tangerine-wallet-browser-c00544de91caec4d76f34aeaf91f025292ae0384.tar.lz tangerine-wallet-browser-c00544de91caec4d76f34aeaf91f025292ae0384.tar.xz tangerine-wallet-browser-c00544de91caec4d76f34aeaf91f025292ae0384.tar.zst tangerine-wallet-browser-c00544de91caec4d76f34aeaf91f025292ae0384.zip |
Add conditional kovan logic to etherscan link generators.
Diffstat (limited to 'ui/lib/explorer-link.js')
-rw-r--r-- | ui/lib/explorer-link.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ui/lib/explorer-link.js b/ui/lib/explorer-link.js index dc6be2984..7ae19cca0 100644 --- a/ui/lib/explorer-link.js +++ b/ui/lib/explorer-link.js @@ -5,9 +5,12 @@ module.exports = function (hash, network) { case 1: // main net prefix = '' break - case 3: // morden test net + case 3: // ropsten test net prefix = 'testnet.' break + case 42: // kovan test net + prefix = 'kovan.' + break default: prefix = '' } |