diff options
author | Paul Bouchon <mail@bitpshr.net> | 2019-04-18 01:34:49 +0800 |
---|---|---|
committer | Whymarrh Whitby <whymarrh.whitby@gmail.com> | 2019-04-18 01:34:49 +0800 |
commit | 0db0a187c8f30dcf332cf4d41a2f957171b25630 (patch) | |
tree | a57dc4e161dcefa8a2a96c9b14c24dbe1635588b /ui/lib | |
parent | 00133d31b15d070d55dff13f568cf828dad41424 (diff) | |
download | tangerine-wallet-browser-0db0a187c8f30dcf332cf4d41a2f957171b25630.tar tangerine-wallet-browser-0db0a187c8f30dcf332cf4d41a2f957171b25630.tar.gz tangerine-wallet-browser-0db0a187c8f30dcf332cf4d41a2f957171b25630.tar.bz2 tangerine-wallet-browser-0db0a187c8f30dcf332cf4d41a2f957171b25630.tar.lz tangerine-wallet-browser-0db0a187c8f30dcf332cf4d41a2f957171b25630.tar.xz tangerine-wallet-browser-0db0a187c8f30dcf332cf4d41a2f957171b25630.tar.zst tangerine-wallet-browser-0db0a187c8f30dcf332cf4d41a2f957171b25630.zip |
feature: add Goerli support (#6459)
Diffstat (limited to 'ui/lib')
-rw-r--r-- | ui/lib/account-link.js | 3 | ||||
-rw-r--r-- | ui/lib/etherscan-prefix-for-network.js | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/ui/lib/account-link.js b/ui/lib/account-link.js index 037d990fa..3eaa7cf71 100644 --- a/ui/lib/account-link.js +++ b/ui/lib/account-link.js @@ -17,6 +17,9 @@ module.exports = function (address, network) { case 42: // kovan test net link = `https://kovan.etherscan.io/address/${address}` break + case 5: // goerli test net + link = `https://goerli.etherscan.io/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 2c1904f1c..ce194b0a8 100644 --- a/ui/lib/etherscan-prefix-for-network.js +++ b/ui/lib/etherscan-prefix-for-network.js @@ -14,6 +14,9 @@ module.exports = function (network) { case 42: // kovan test net prefix = 'kovan.' break + case 5: // goerli test net + prefix = 'goerli.' + break default: prefix = '' } |