diff --git a/lib/bcoin/mempool.js b/lib/bcoin/mempool.js index 122cfc0d..b488982e 100644 --- a/lib/bcoin/mempool.js +++ b/lib/bcoin/mempool.js @@ -29,7 +29,7 @@ function Mempool(node, options) { this.options = options; this.node = node; this.pool = node.pool; - this.storage = node.storage; + this.block = node.block; this.txs = {}; this.spent = {}; @@ -198,7 +198,7 @@ Mempool.prototype.addTX = function addTX(tx, peer, callback) { this._lockTX(tx); - this.storage.fillCoin(tx, function(err) { + this.block.fillCoin(tx, function(err) { var i, input, dup, height, ts, priority; self._unlockTX(tx);