mirror of https://github.com/embarklabs/embark.git
supply radix
This commit is contained in:
parent
fa274675a5
commit
1408abf8d9
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue