supply radix

This commit is contained in:
Michael Bradley, Jr 2018-09-19 21:12:20 -05:00
parent fa274675a5
commit 1408abf8d9
1 changed files with 1 additions and 1 deletions

View File

@ -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);