diff --git a/lib/daemon.js b/lib/daemon.js index 516c3a3e..5295c925 100644 --- a/lib/daemon.js +++ b/lib/daemon.js @@ -391,7 +391,7 @@ Daemon.prototype.addMempoolUncheckedTransaction = function(txBuffer) { }; Daemon.prototype.getInfo = function() { - if (bitcoin.stopping) return []; + if (daemon.stopping) return []; return bitcoindjs.getInfo(); };