mempool: fix handleOrphans.

This commit is contained in:
Christopher Jeffrey 2017-05-21 14:45:53 -07:00
parent 1eaafb1a09
commit 6b5cba635a
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -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;
});
/**