diff --git a/lib/wallet/txdb.js b/lib/wallet/txdb.js index 99eb7672..18d5fe9e 100644 --- a/lib/wallet/txdb.js +++ b/lib/wallet/txdb.js @@ -544,8 +544,11 @@ TXDB.prototype.verify = co(function* verify(tx, info) { // We must be double-spending. coin = yield this.getSpentCoin(spent, prevout); - if (!coin) - throw new Error('Could not find double-spent coin.'); + // Double-spent orphan. + if (!coin) { + orphans[i] = true; + continue; + } input.coin = coin;