aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2017-04-05 09:48:33 +0800
committerkumavis <aaron@kumavis.me>2017-04-05 09:48:33 +0800
commit9b9570fd2be5a7bdaf37a663628147976d8c94b4 (patch)
treee1bb7cf3132cdda1ed5636acad01d285a4ec928d
parent5a91adf7d802097805938e3d54fe7256b19724d1 (diff)
downloadtangerine-wallet-browser-9b9570fd2be5a7bdaf37a663628147976d8c94b4.tar
tangerine-wallet-browser-9b9570fd2be5a7bdaf37a663628147976d8c94b4.tar.gz
tangerine-wallet-browser-9b9570fd2be5a7bdaf37a663628147976d8c94b4.tar.bz2
tangerine-wallet-browser-9b9570fd2be5a7bdaf37a663628147976d8c94b4.tar.lz
tangerine-wallet-browser-9b9570fd2be5a7bdaf37a663628147976d8c94b4.tar.xz
tangerine-wallet-browser-9b9570fd2be5a7bdaf37a663628147976d8c94b4.tar.zst
tangerine-wallet-browser-9b9570fd2be5a7bdaf37a663628147976d8c94b4.zip
auto-faucet - only skip faucet on explicit test environment
-rw-r--r--app/scripts/lib/auto-faucet.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/scripts/lib/auto-faucet.js b/app/scripts/lib/auto-faucet.js
index 1e059cf73..38d54ba5e 100644
--- a/app/scripts/lib/auto-faucet.js
+++ b/app/scripts/lib/auto-faucet.js
@@ -4,7 +4,7 @@ const env = process.env.METAMASK_ENV
module.exports = function (address) {
// Don't faucet in development or test
- if (METAMASK_DEBUG || env === 'test') return
+ if (METAMASK_DEBUG === true || env === 'test') return
global.log.info('auto-fauceting:', address)
const data = address
const headers = new Headers()