mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-26 23:20:29 +00:00
disable dead code path -- ganache will never be falsy
This commit is contained in:
parent
8e604f95b6
commit
cd9e715c6f
@ -27,9 +27,9 @@ class Simulator {
|
|||||||
let port = (options.port || this.blockchainConfig.rpcPort || 8545);
|
let port = (options.port || this.blockchainConfig.rpcPort || 8545);
|
||||||
|
|
||||||
cmds.push("-p " + (port + (useProxy ? constants.blockchain.servicePortOnProxy : 0)));
|
cmds.push("-p " + (port + (useProxy ? constants.blockchain.servicePortOnProxy : 0)));
|
||||||
if (!ganache) {
|
// if (!ganache) {
|
||||||
cmds.push("-h " + host);
|
// cmds.push("-h " + host);
|
||||||
}
|
// }
|
||||||
cmds.push("-a " + (options.numAccounts || 10));
|
cmds.push("-a " + (options.numAccounts || 10));
|
||||||
cmds.push("-e " + (options.defaultBalance || 100));
|
cmds.push("-e " + (options.defaultBalance || 100));
|
||||||
cmds.push("-l " + (options.gasLimit || 8000000));
|
cmds.push("-l " + (options.gasLimit || 8000000));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user