From 7ccea6fbb833f87acd6cdd00104aa3fb4ed9336d Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Tue, 28 Feb 2017 10:41:21 -0800 Subject: [PATCH] mempool: fix countDescendants. --- lib/mempool/mempool.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mempool/mempool.js b/lib/mempool/mempool.js index 75f3b717..17dd54b8 100644 --- a/lib/mempool/mempool.js +++ b/lib/mempool/mempool.js @@ -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++) {