mirror of
https://github.com/mempool/mempool.git
synced 2025-08-03 23:02:37 +02:00
Fix stale cpfp bug
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user