mirror of
https://github.com/mempool/mempool.git
synced 2025-02-23 22:46:54 +01:00
Fix disappearing effective/accelerated fee rates
This commit is contained in:
parent
ba6fedc430
commit
0bc86541c6
2 changed files with 2 additions and 2 deletions
|
@ -343,7 +343,7 @@ class MempoolBlocks {
|
|||
if (txid in mempool) {
|
||||
mempool[txid].cpfpDirty = (rate !== mempool[txid].effectiveFeePerVsize);
|
||||
mempool[txid].effectiveFeePerVsize = rate;
|
||||
mempool[txid].cpfpChecked = false;
|
||||
mempool[txid].cpfpChecked = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -739,7 +739,7 @@ class WebsocketHandler {
|
|||
accelerated: mempoolTx.acceleration || undefined,
|
||||
}
|
||||
};
|
||||
if (!mempoolTx.cpfpChecked) {
|
||||
if (!mempoolTx.cpfpChecked && !mempoolTx.acceleration) {
|
||||
calculateCpfp(mempoolTx, newMempool);
|
||||
}
|
||||
if (mempoolTx.cpfpDirty) {
|
||||
|
|
Loading…
Add table
Reference in a new issue