Merge pull request #467 from embark-framework/simulatorCommandLine

fix simulator preferential treatment
This commit is contained in:
Iuri Matias 2018-05-30 06:42:02 -04:00 committed by GitHub
commit d39f5e1868
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -17,8 +17,8 @@ class Simulator {
process.exit();
}
cmds.push("-p " + (this.blockchainConfig.rpcPort || options.port || 8545));
cmds.push("-h " + (this.blockchainConfig.rpcHost || options.host || 'localhost'));
cmds.push("-p " + (options.port || this.blockchainConfig.rpcPort || 8545));
cmds.push("-h " + (options.host || this.blockchainConfig.rpcHost || 'localhost'));
cmds.push("-a " + (options.numAccounts || 10));
cmds.push("-e " + (options.defaultBalance || 100));
cmds.push("-l " + (options.gasLimit || 8000000));