mempool: fix getDepends.
This commit is contained in:
parent
c365ecb3ea
commit
42a2e61d7f
@ -1296,7 +1296,7 @@ Mempool.prototype.getDepends = function getDepends(tx) {
|
||||
var i, hash;
|
||||
|
||||
for (i = 0; i < prevout.length; i++) {
|
||||
hash = prevout[i].hash;
|
||||
hash = prevout[i];
|
||||
if (this.hasTX(hash))
|
||||
depends.push(hash);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user