mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 18:00:18 +01:00
auto-faucet - only skip faucet on explicit test environment
This commit is contained in:
parent
5a91adf7d8
commit
9b9570fd2b
@ -4,7 +4,7 @@ const env = process.env.METAMASK_ENV
|
|||||||
|
|
||||||
module.exports = function (address) {
|
module.exports = function (address) {
|
||||||
// Don't faucet in development or test
|
// 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)
|
global.log.info('auto-fauceting:', address)
|
||||||
const data = address
|
const data = address
|
||||||
const headers = new Headers()
|
const headers = new Headers()
|
||||||
|
Loading…
Reference in New Issue
Block a user