From 5b7ac01e847ad010e6743ff0018be97f4a166a91 Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Tue, 16 Feb 2016 01:36:44 -0800 Subject: [PATCH] fix prop. --- lib/bcoin/mempool.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);