diff --git a/lib/bcoin/mempool.js b/lib/bcoin/mempool.js index 9c21a24c..5fbbf408 100644 --- a/lib/bcoin/mempool.js +++ b/lib/bcoin/mempool.js @@ -524,11 +524,10 @@ Mempool.prototype.getTXByAddress = function getTXByAddress(addresses, callback) transform: function(key) { var hash = key.split('/')[2]; - if (addresses.length > 1) { - if (have[hash]) - return false; - have[hash] = true; - } + if (have[hash]) + return; + + have[hash] = true; return 't/' + hash; },