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