disable dead code path -- ganache will never be falsy

This commit is contained in:
Michael Bradley, Jr 2018-07-12 14:56:55 -05:00 committed by Pascal Precht
parent 8e604f95b6
commit cd9e715c6f
No known key found for this signature in database
GPG Key ID: 0EE28D8D6FD85D7D

View File

@ -27,9 +27,9 @@ class Simulator {
let port = (options.port || this.blockchainConfig.rpcPort || 8545);
cmds.push("-p " + (port + (useProxy ? constants.blockchain.servicePortOnProxy : 0)));
if (!ganache) {
cmds.push("-h " + host);
}
// if (!ganache) {
// cmds.push("-h " + host);
// }
cmds.push("-a " + (options.numAccounts || 10));
cmds.push("-e " + (options.defaultBalance || 100));
cmds.push("-l " + (options.gasLimit || 8000000));