mempool: fix getDepends.

This commit is contained in:
Christopher Jeffrey 2017-02-28 15:22:35 -08:00
parent c365ecb3ea
commit 42a2e61d7f
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -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);
}