From d78c9bd74ad0f6c0ff6cb0d780c5c1209a272d4f Mon Sep 17 00:00:00 2001 From: "Michael Bradley, Jr" Date: Thu, 12 Jul 2018 16:04:19 -0500 Subject: [PATCH] set the host flag for ganache-cli --- lib/cmds/simulator.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/cmds/simulator.js b/lib/cmds/simulator.js index 27381b444..eeeb8131a 100644 --- a/lib/cmds/simulator.js +++ b/lib/cmds/simulator.js @@ -20,9 +20,7 @@ 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); - // } + cmds.push("-h " + host); cmds.push("-a " + (options.numAccounts || 10)); cmds.push("-e " + (options.defaultBalance || 100)); cmds.push("-l " + (options.gasLimit || 8000000));