set the host flag for ganache-cli

This commit is contained in:
Michael Bradley, Jr 2018-07-12 16:04:19 -05:00
parent 33048b01b7
commit d78c9bd74a
1 changed files with 1 additions and 3 deletions

View File

@ -20,9 +20,7 @@ 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) { 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));