diff options
author | Dan Finlay <dan@danfinlay.com> | 2017-09-02 02:03:49 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2017-09-02 02:41:47 +0800 |
commit | 8498daee88f1002b6a2d980a66101a0d62a7918c (patch) | |
tree | 1e34ae97de128c9949bd397fd799cbd0694a573c | |
parent | ddd559718f5395190ad3903cdb9c42e2e6e50443 (diff) | |
download | tangerine-wallet-browser-8498daee88f1002b6a2d980a66101a0d62a7918c.tar tangerine-wallet-browser-8498daee88f1002b6a2d980a66101a0d62a7918c.tar.gz tangerine-wallet-browser-8498daee88f1002b6a2d980a66101a0d62a7918c.tar.bz2 tangerine-wallet-browser-8498daee88f1002b6a2d980a66101a0d62a7918c.tar.lz tangerine-wallet-browser-8498daee88f1002b6a2d980a66101a0d62a7918c.tar.xz tangerine-wallet-browser-8498daee88f1002b6a2d980a66101a0d62a7918c.tar.zst tangerine-wallet-browser-8498daee88f1002b6a2d980a66101a0d62a7918c.zip |
Update etherscan links to https
Fixes #2005
-rw-r--r-- | ui/lib/account-link.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ui/lib/account-link.js b/ui/lib/account-link.js index d061d0ad1..037d990fa 100644 --- a/ui/lib/account-link.js +++ b/ui/lib/account-link.js @@ -3,19 +3,19 @@ module.exports = function (address, network) { let link switch (net) { case 1: // main net - link = `http://etherscan.io/address/${address}` + link = `https://etherscan.io/address/${address}` break case 2: // morden test net - link = `http://morden.etherscan.io/address/${address}` + link = `https://morden.etherscan.io/address/${address}` break case 3: // ropsten test net - link = `http://ropsten.etherscan.io/address/${address}` + link = `https://ropsten.etherscan.io/address/${address}` break case 4: // rinkeby test net - link = `http://rinkeby.etherscan.io/address/${address}` + link = `https://rinkeby.etherscan.io/address/${address}` break case 42: // kovan test net - link = `http://kovan.etherscan.io/address/${address}` + link = `https://kovan.etherscan.io/address/${address}` break default: link = '' |