mempool: fix countDescendants.

This commit is contained in:
Christopher Jeffrey 2017-02-28 10:41:21 -08:00
parent 60ff33bdb2
commit 7ccea6fbb8
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -1112,7 +1112,7 @@ Mempool.prototype.countDescendants = function countDescendants(entry) {
Mempool.prototype._countDescendants = function countDescendants(entry, count, set) {
var tx = entry.tx;
var hash = entry.hash;
var hash = tx.hash('hex');
var i, next, nhash;
for (i = 0; i < tx.outputs.length; i++) {