From cd9e715c6ffe3e70983c9e246c87601f119141aa Mon Sep 17 00:00:00 2001 From: "Michael Bradley, Jr" Date: Thu, 12 Jul 2018 14:56:55 -0500 Subject: [PATCH] disable dead code path -- ganache will never be falsy --- lib/cmds/simulator.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/cmds/simulator.js b/lib/cmds/simulator.js index 9cc60fb4..825b5867 100644 --- a/lib/cmds/simulator.js +++ b/lib/cmds/simulator.js @@ -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));