From 1408abf8d97cc9781d0cd37095b30ff1b5440ef5 Mon Sep 17 00:00:00 2001 From: "Michael Bradley, Jr" Date: Wed, 19 Sep 2018 21:12:20 -0500 Subject: [PATCH] supply radix --- lib/modules/blockchain_process/simulator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/modules/blockchain_process/simulator.js b/lib/modules/blockchain_process/simulator.js index ab415968f..4bb0ade6e 100644 --- a/lib/modules/blockchain_process/simulator.js +++ b/lib/modules/blockchain_process/simulator.js @@ -30,7 +30,7 @@ class Simulator { let useProxy = this.blockchainConfig.proxy || false; let host = (dockerHostSwap(options.host || this.blockchainConfig.rpcHost) || defaultHost); let port = (options.port || this.blockchainConfig.rpcPort || 8545); - port = parseInt(port) + (useProxy ? constants.blockchain.servicePortOnProxy : 0); + port = parseInt(port, 10) + (useProxy ? constants.blockchain.servicePortOnProxy : 0); cmds.push("-p " + port); cmds.push("-h " + host);