From 6b5cba635af789017ce8dea6a474492e674479ce Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Sun, 21 May 2017 14:45:53 -0700 Subject: [PATCH] mempool: fix handleOrphans. --- lib/mempool/mempool.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/mempool/mempool.js b/lib/mempool/mempool.js index e61cdbd2..b7d11a1e 100644 --- a/lib/mempool/mempool.js +++ b/lib/mempool/mempool.js @@ -1556,6 +1556,7 @@ Mempool.prototype.handleOrphans = co(function* handleOrphans(parent) { this.logger.warning('%s %s', 'Warning: possible memory corruption.', 'Orphan failed deserialization.'); + continue; } try { @@ -1580,8 +1581,6 @@ Mempool.prototype.handleOrphans = co(function* handleOrphans(parent) { this.logger.debug('Resolved orphan %s in mempool.', tx.txid()); } - - return resolved; }); /**