mirror of
https://github.com/tornadocash/tornado-pool-factory
synced 2024-02-02 15:04:08 +01:00
Fix compile without FORKNET_RPC_URL env
This commit is contained in:
parent
36fb766248
commit
9db29f2ede
@ -69,12 +69,16 @@ module.exports = {
|
|||||||
? [process.env.PRIVATE_KEY]
|
? [process.env.PRIVATE_KEY]
|
||||||
: { mnemonic: 'test test test test test junk' },
|
: { mnemonic: 'test test test test test junk' },
|
||||||
},
|
},
|
||||||
forknet: {
|
...(typeof process.env.FORKNET_RPC_URL === 'string'
|
||||||
url: process.env.FORKNET_RPC_URL,
|
? {
|
||||||
accounts: process.env.PRIVATE_KEY
|
forknet: {
|
||||||
? [process.env.PRIVATE_KEY]
|
url: process.env.FORKNET_RPC_URL,
|
||||||
: { mnemonic: 'test test test test test junk' },
|
accounts: process.env.PRIVATE_KEY
|
||||||
},
|
? [process.env.PRIVATE_KEY]
|
||||||
|
: { mnemonic: 'test test test test test junk' },
|
||||||
|
},
|
||||||
|
}
|
||||||
|
: {}),
|
||||||
},
|
},
|
||||||
mocha: { timeout: 9999999999 },
|
mocha: { timeout: 9999999999 },
|
||||||
spdxLicenseIdentifier: {
|
spdxLicenseIdentifier: {
|
||||||
|
Loading…
Reference in New Issue
Block a user