diff --git a/lib/bcoin/tx-pool.js b/lib/bcoin/tx-pool.js index a4b11fa8..8f303063 100644 --- a/lib/bcoin/tx-pool.js +++ b/lib/bcoin/tx-pool.js @@ -135,8 +135,10 @@ TXPool.prototype.add = function add(tx, noWrite) { } delete this._orphans[key]; - if (!orphans) + if (!orphans) { this._unspent[key] = { tx: tx, index: i }; + updated = true; + } } this._lastTs = Math.max(tx.ts, this._lastTs);