fix simulator preferential treatment
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
This commit is contained in:
parent
836fbfbc47
commit
302476e95e
|
@ -17,8 +17,8 @@ class Simulator {
|
||||||
process.exit();
|
process.exit();
|
||||||
}
|
}
|
||||||
|
|
||||||
cmds.push("-p " + (this.blockchainConfig.rpcPort || options.port || 8545));
|
cmds.push("-p " + (options.port || this.blockchainConfig.rpcPort || 8545));
|
||||||
cmds.push("-h " + (this.blockchainConfig.rpcHost || options.host || 'localhost'));
|
cmds.push("-h " + (options.host || this.blockchainConfig.rpcHost || 'localhost'));
|
||||||
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…
Reference in New Issue