From de690e4f22340e70fe26856312b3b53bf64f9f5f Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Wed, 19 Oct 2016 15:20:59 -0700 Subject: [PATCH] txdb: fix assert. --- lib/wallet/txdb.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/lib/wallet/txdb.js b/lib/wallet/txdb.js index 4409b2e8..54615bea 100644 --- a/lib/wallet/txdb.js +++ b/lib/wallet/txdb.js @@ -1470,13 +1470,6 @@ TXDB.prototype.disconnect = co(function* disconnect(tx) { credit = yield this.getCredit(hash, i); - assert(credit); - assert(!credit.spent); - - // Neither of the spent cases below - // should ever happen, but account - // for them if some jackass is messing - // around with bcoin. if (!credit) { yield this.updateSpentCoin(tx, i); continue;