Skip to content

Commit

Permalink
pass rpc config
Browse files Browse the repository at this point in the history
  • Loading branch information
niahmiah committed Feb 28, 2019
1 parent 729ea25 commit b3956ec
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions lib/blockchain.js
Expand Up @@ -366,11 +366,11 @@ class Blockchain extends events.EventEmitter {
}

node.client = new RPCClient({
protocol: config.rpcprotocol || 'http',
host: config.rpchost || '127.0.0.1',
port: config.rpcport,
user: config.rpcuser,
pass: config.rpcpassword
rpcprotocol: config.rpcprotocol || 'http',
rpchost: config.rpchost || '127.0.0.1',
rpcport: config.rpcport,
rpcuser: config.rpcuser,
rpcpassword: config.rpcpassword
});

try {
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "@owstack/hapi-blockchain",
"version": "1.0.9",
"version": "1.0.10",
"description": "Provides connectivity to bitcoin RPC, REST, and/or ZMQ data",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit b3956ec

Please sign in to comment.