fix mempool.countAncestors.

This commit is contained in:
Christopher Jeffrey 2016-03-26 05:06:07 -07:00
parent 55957c2271
commit 5912d65fa8

View File

@ -574,6 +574,8 @@ Mempool.prototype.countAncestors = function countAncestors(tx, callback) {
if (!tx)
return next();
inputs[i] += 1;
self.countAncestors(tx, function(err, max) {
if (err)
return next(err);