diff options
author | Chen Wei <chenwei@byzantine-lab.io> | 2019-07-02 15:04:00 +0800 |
---|---|---|
committer | Chen Wei <chenwei@byzantine-lab.io> | 2019-07-02 15:04:00 +0800 |
commit | ffb58b74793e9b5d5caf36efdc5d7d3867c2e162 (patch) | |
tree | 94e0b86e54e6ba2062a64bb9536a575b9f6c309b /ui/lib | |
parent | 11b14616db1153510b4c37edada7463d2e9a368b (diff) | |
download | tangerine-wallet-browser-ffb58b74793e9b5d5caf36efdc5d7d3867c2e162.tar tangerine-wallet-browser-ffb58b74793e9b5d5caf36efdc5d7d3867c2e162.tar.gz tangerine-wallet-browser-ffb58b74793e9b5d5caf36efdc5d7d3867c2e162.tar.bz2 tangerine-wallet-browser-ffb58b74793e9b5d5caf36efdc5d7d3867c2e162.tar.lz tangerine-wallet-browser-ffb58b74793e9b5d5caf36efdc5d7d3867c2e162.tar.xz tangerine-wallet-browser-ffb58b74793e9b5d5caf36efdc5d7d3867c2e162.tar.zst tangerine-wallet-browser-ffb58b74793e9b5d5caf36efdc5d7d3867c2e162.zip |
configuration, translation updating
Diffstat (limited to 'ui/lib')
-rw-r--r-- | ui/lib/account-link.js | 3 | ||||
-rw-r--r-- | ui/lib/etherscan-prefix-for-network.js | 6 |
2 files changed, 9 insertions, 0 deletions
diff --git a/ui/lib/account-link.js b/ui/lib/account-link.js index f2e321991..1760b9f76 100644 --- a/ui/lib/account-link.js +++ b/ui/lib/account-link.js @@ -24,6 +24,9 @@ module.exports = function (address, network, rpcPrefs) { case 5: // goerli test net link = `https://goerli.etherscan.io/address/${address}` break + case 374: + link = `https://testnet.tangerine.garden/address/${address}` + break default: link = '' break diff --git a/ui/lib/etherscan-prefix-for-network.js b/ui/lib/etherscan-prefix-for-network.js index ce194b0a8..aec4a2d33 100644 --- a/ui/lib/etherscan-prefix-for-network.js +++ b/ui/lib/etherscan-prefix-for-network.js @@ -17,6 +17,12 @@ module.exports = function (network) { case 5: // goerli test net prefix = 'goerli.' break + case 373: + prefix = '' + break + case 374: + prefix = 'testnet.' + break default: prefix = '' } |