Merge pull request #45 from readevalprint/blockchain_host

Allow blockchain rpchost to be configurable
This commit is contained in:
Iuri Matias 2015-08-02 06:58:33 -04:00
commit d4761fe62c
1 changed files with 1 additions and 0 deletions

View File

@ -18,6 +18,7 @@ Blockchain.prototype.generate_basic_command = function() {
cmd += "--port " + config.port + " ";
cmd += "--rpc ";
cmd += "--rpcport " + config.rpcPort + " ";
cmd += "--rpcaddr " + config.rpcHost + " ";
cmd += "--networkid " + config.networkId + " ";
cmd += "--rpccorsdomain \"" + config.rpcWhitelist + "\" ";