aboutsummaryrefslogtreecommitdiffstats
path: root/ui/lib
diff options
context:
space:
mode:
authorKevin Serrano <kevin.serrano@consensys.net>2017-04-26 05:39:01 +0800
committerKevin Serrano <kevin.serrano@consensys.net>2017-04-26 05:39:01 +0800
commit242dc1e99f1dd53e2bec9deefb5da0c8329b5f00 (patch)
treed6a943349a6b86fab61558d59179435b4ddbeb2b /ui/lib
parentd764e46a500d0dc156a1da86498b751d23c94747 (diff)
downloadtangerine-wallet-browser-242dc1e99f1dd53e2bec9deefb5da0c8329b5f00.tar
tangerine-wallet-browser-242dc1e99f1dd53e2bec9deefb5da0c8329b5f00.tar.gz
tangerine-wallet-browser-242dc1e99f1dd53e2bec9deefb5da0c8329b5f00.tar.bz2
tangerine-wallet-browser-242dc1e99f1dd53e2bec9deefb5da0c8329b5f00.tar.lz
tangerine-wallet-browser-242dc1e99f1dd53e2bec9deefb5da0c8329b5f00.tar.xz
tangerine-wallet-browser-242dc1e99f1dd53e2bec9deefb5da0c8329b5f00.tar.zst
tangerine-wallet-browser-242dc1e99f1dd53e2bec9deefb5da0c8329b5f00.zip
Add missing changes. Create unique style for rinkeby icon.
Diffstat (limited to 'ui/lib')
-rw-r--r--ui/lib/account-link.js3
-rw-r--r--ui/lib/explorer-link.js3
2 files changed, 6 insertions, 0 deletions
diff --git a/ui/lib/account-link.js b/ui/lib/account-link.js
index 4f27b35c0..d061d0ad1 100644
--- a/ui/lib/account-link.js
+++ b/ui/lib/account-link.js
@@ -11,6 +11,9 @@ module.exports = function (address, network) {
case 3: // ropsten test net
link = `http://ropsten.etherscan.io/address/${address}`
break
+ case 4: // rinkeby test net
+ link = `http://rinkeby.etherscan.io/address/${address}`
+ break
case 42: // kovan test net
link = `http://kovan.etherscan.io/address/${address}`
break
diff --git a/ui/lib/explorer-link.js b/ui/lib/explorer-link.js
index ca89f8b25..e11249551 100644
--- a/ui/lib/explorer-link.js
+++ b/ui/lib/explorer-link.js
@@ -8,6 +8,9 @@ module.exports = function (hash, network) {
case 3: // ropsten test net
prefix = 'ropsten.'
break
+ case 4: // rinkeby test net
+ prefix = 'rinkeby.'
+ break
case 42: // kovan test net
prefix = 'kovan.'
break