From 5f43c429a923fb18ae0a8cc0684194393e4084cd Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Wed, 17 Aug 2016 13:12:19 -0700 Subject: [PATCH] mempool: minor. --- lib/bcoin/mempool.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/bcoin/mempool.js b/lib/bcoin/mempool.js index ded29982..1cd3b79b 100644 --- a/lib/bcoin/mempool.js +++ b/lib/bcoin/mempool.js @@ -1801,8 +1801,8 @@ function AddressIndex(mempool) { this.map = {}; } -AddressIndex.prototype.getCoins = function getCoins(address) { - var items = this.map[address]; +AddressIndex.prototype.getCoins = function getCoins(hash) { + var items = this.map[hash]; var out = []; var i, item, outpoint, coin; @@ -1820,8 +1820,8 @@ AddressIndex.prototype.getCoins = function getCoins(address) { return out; }; -AddressIndex.prototype.getTX = function getTX(address) { - var items = this.map[address]; +AddressIndex.prototype.getTX = function getTX(hash) { + var items = this.map[hash]; var out = []; var i, hash, tx;