diff --git a/lib/bcoin/tx-pool.js b/lib/bcoin/tx-pool.js index 5adddb1e..7b6926aa 100644 --- a/lib/bcoin/tx-pool.js +++ b/lib/bcoin/tx-pool.js @@ -98,12 +98,12 @@ TXPool.prototype.add = function add(tx, noWrite) { // continue; // Only add orphans if this input is ours or the tx has outputs that are ours. - // if (!ownOutput && (!ownInput || !~ownInput.indexOf(input))) - // continue; + if (!ownOutput && (!ownInput || !~ownInput.indexOf(input))) + continue; // Only add orphans if this input is ours. - if (!ownInput || !~ownInput.indexOf(input)) - continue; + // if (!ownInput || !~ownInput.indexOf(input)) + // continue; // Add orphan, if no parent transaction is yet known var orphan = { tx: tx, index: input.out.index };