diff --git a/lib/bitcoind.js b/lib/bitcoind.js index 483b9a3f..aeb81e93 100644 --- a/lib/bitcoind.js +++ b/lib/bitcoind.js @@ -192,6 +192,10 @@ Bitcoin.prototype.start = function(options, callback) { } }); + if (options.txindex !== false) { + options.txindex = true; + } + bitcoindjs.start(options, function(err, status) { self._started = true;