aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2019-03-29 10:37:16 +0800
committerkumavis <aaron@kumavis.me>2019-03-29 10:37:16 +0800
commit2c3fc18573e901929329275b98b31afbc549343f (patch)
treee01ad99142c26c4cf445f4c57f6479311dcfaf23 /app
parent38b85adbe01fe3f01ec81f395026dc1cbe2c0ec8 (diff)
downloadtangerine-wallet-browser-2c3fc18573e901929329275b98b31afbc549343f.tar
tangerine-wallet-browser-2c3fc18573e901929329275b98b31afbc549343f.tar.gz
tangerine-wallet-browser-2c3fc18573e901929329275b98b31afbc549343f.tar.bz2
tangerine-wallet-browser-2c3fc18573e901929329275b98b31afbc549343f.tar.lz
tangerine-wallet-browser-2c3fc18573e901929329275b98b31afbc549343f.tar.xz
tangerine-wallet-browser-2c3fc18573e901929329275b98b31afbc549343f.tar.zst
tangerine-wallet-browser-2c3fc18573e901929329275b98b31afbc549343f.zip
buy-eth-url - fix variable name
Diffstat (limited to 'app')
-rw-r--r--app/scripts/lib/buy-eth-url.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/scripts/lib/buy-eth-url.js b/app/scripts/lib/buy-eth-url.js
index d9d5155c2..387f41392 100644
--- a/app/scripts/lib/buy-eth-url.js
+++ b/app/scripts/lib/buy-eth-url.js
@@ -32,7 +32,7 @@ function getBuyEthUrl({ network, amount, address, service }) {
throw new Error(`Unknown cryptocurrency exchange or faucet: "${service}"`)
}
-function getDefaultServiceForNetwork (networkId) {
+function getDefaultServiceForNetwork (network) {
switch (network) {
case '1':
return 'wyre'
@@ -43,5 +43,5 @@ function getDefaultServiceForNetwork (networkId) {
case '42':
return 'kovan-faucet'
}
- throw new Error(`No default cryptocurrency exchange or faucet for networkId: "${networkId}"`)
+ throw new Error(`No default cryptocurrency exchange or faucet for networkId: "${network}"`)
}