mempool: fix countDescendants.
This commit is contained in:
parent
60ff33bdb2
commit
7ccea6fbb8
@ -1112,7 +1112,7 @@ Mempool.prototype.countDescendants = function countDescendants(entry) {
|
|||||||
|
|
||||||
Mempool.prototype._countDescendants = function countDescendants(entry, count, set) {
|
Mempool.prototype._countDescendants = function countDescendants(entry, count, set) {
|
||||||
var tx = entry.tx;
|
var tx = entry.tx;
|
||||||
var hash = entry.hash;
|
var hash = tx.hash('hex');
|
||||||
var i, next, nhash;
|
var i, next, nhash;
|
||||||
|
|
||||||
for (i = 0; i < tx.outputs.length; i++) {
|
for (i = 0; i < tx.outputs.length; i++) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user