Fix stale cpfp bug

This commit is contained in:
Mononaut 2024-07-04 08:43:05 +00:00
parent 46c4d57367
commit c37858fa54
No known key found for this signature in database
GPG key ID: A3F058E41374C04E

View file

@ -353,6 +353,9 @@ class MempoolBlocks {
for (const txid of Object.keys(candidates?.txs ?? mempool)) {
if (txid in mempool) {
mempool[txid].cpfpDirty = false;
mempool[txid].ancestors = [];
mempool[txid].descendants = [];
mempool[txid].bestDescendant = null;
}
}
for (const [txid, rate] of rates) {