From 25db4cfe4588b2c65d60e44cd961eefed9b883d9 Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Sun, 12 Jun 2016 08:06:15 -0700 Subject: [PATCH] minor. --- lib/bcoin/mempool.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) 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; },