aboutsummaryrefslogtreecommitdiffstats
path: root/app
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 /app
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 'app')
-rw-r--r--app/scripts/config.js2
-rw-r--r--app/scripts/lib/buy-eth-url.js6
2 files changed, 6 insertions, 2 deletions
diff --git a/app/scripts/config.js b/app/scripts/config.js
index 4f62268e1..391c67230 100644
--- a/app/scripts/config.js
+++ b/app/scripts/config.js
@@ -1,7 +1,7 @@
const MAINET_RPC_URL = 'https://mainnet.infura.io/metamask'
const TESTNET_RPC_URL = 'https://ropsten.infura.io/metamask'
const KOVAN_RPC_URL = 'https://kovan.infura.io/metamask'
-const RINKEBY_RPC_URL = 'https://rinkeby.infura.io'
+const RINKEBY_RPC_URL = 'https://rinkeby.infura.io/metamask'
const DEFAULT_RPC_URL = TESTNET_RPC_URL
global.METAMASK_DEBUG = 'GULP_METAMASK_DEBUG'
diff --git a/app/scripts/lib/buy-eth-url.js b/app/scripts/lib/buy-eth-url.js
index 91a1ec322..957a00211 100644
--- a/app/scripts/lib/buy-eth-url.js
+++ b/app/scripts/lib/buy-eth-url.js
@@ -11,9 +11,13 @@ function getBuyEthUrl({ network, amount, address }){
url = 'https://faucet.metamask.io/'
break
+ case '4':
+ url = 'https://www.rinkeby.io/'
+ break
+
case '42':
url = 'https://github.com/kovan-testnet/faucet'
break
}
return url
-} \ No newline at end of file
+}