This commit is contained in:
Christopher Jeffrey 2016-06-12 08:06:15 -07:00
parent 18ff108a77
commit 25db4cfe45
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -524,11 +524,10 @@ Mempool.prototype.getTXByAddress = function getTXByAddress(addresses, callback)
transform: function(key) { transform: function(key) {
var hash = key.split('/')[2]; var hash = key.split('/')[2];
if (addresses.length > 1) { if (have[hash])
if (have[hash]) return;
return false;
have[hash] = true; have[hash] = true;
}
return 't/' + hash; return 't/' + hash;
}, },