Skip to content

Commit 4ade31f

Browse files
authored
Merge pull request #455 from braydonf/rpcoption
bitcoind: connect option for strict ssl
2 parents 3713a18 + 3dc6860 commit 4ade31f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/services/bitcoind.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -938,7 +938,8 @@ Bitcoin.prototype._connectProcess = function(config, callback) {
938938
host: config.rpchost || '127.0.0.1',
939939
port: config.rpcport,
940940
user: config.rpcuser,
941-
pass: config.rpcpassword
941+
pass: config.rpcpassword,
942+
rejectUnauthorized: _.isUndefined(config.rpcstrict) ? true : config.rpcstrict
942943
});
943944

944945
self._loadTipFromNode(node, done);

0 commit comments

Comments
 (0)