aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/lib/buy-eth-url.js
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2017-04-28 06:10:16 +0800
committerDan Finlay <dan@danfinlay.com>2017-04-28 06:10:16 +0800
commita9a39bdf8f2b95e8401de6410797a703df91a4e1 (patch)
tree3bc128f651dcd956992fdb2e257269e6507a2f86 /app/scripts/lib/buy-eth-url.js
parentf1beb0720a0964e45a71b473f173f62c6abdac6e (diff)
parentd8a5e6a8e43f04a9f123167326fe46dfb8fc2ae6 (diff)
downloadtangerine-wallet-browser-a9a39bdf8f2b95e8401de6410797a703df91a4e1.tar
tangerine-wallet-browser-a9a39bdf8f2b95e8401de6410797a703df91a4e1.tar.gz
tangerine-wallet-browser-a9a39bdf8f2b95e8401de6410797a703df91a4e1.tar.bz2
tangerine-wallet-browser-a9a39bdf8f2b95e8401de6410797a703df91a4e1.tar.lz
tangerine-wallet-browser-a9a39bdf8f2b95e8401de6410797a703df91a4e1.tar.xz
tangerine-wallet-browser-a9a39bdf8f2b95e8401de6410797a703df91a4e1.tar.zst
tangerine-wallet-browser-a9a39bdf8f2b95e8401de6410797a703df91a4e1.zip
Merge branch 'master' into Version-3.5.4
Diffstat (limited to 'app/scripts/lib/buy-eth-url.js')
-rw-r--r--app/scripts/lib/buy-eth-url.js8
1 files changed, 6 insertions, 2 deletions
diff --git a/app/scripts/lib/buy-eth-url.js b/app/scripts/lib/buy-eth-url.js
index 91a1ec322..b9dde3c28 100644
--- a/app/scripts/lib/buy-eth-url.js
+++ b/app/scripts/lib/buy-eth-url.js
@@ -1,6 +1,6 @@
module.exports = getBuyEthUrl
-function getBuyEthUrl({ network, amount, address }){
+function getBuyEthUrl ({ network, amount, address }) {
let url
switch (network) {
case '1':
@@ -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
+}