minor.
This commit is contained in:
parent
18ff108a77
commit
25db4cfe45
@ -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;
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user