add missing rbf eviction

This commit is contained in:
Mononaut
2023-05-04 19:10:53 -04:00
parent d322c6b5b5
commit 3d0f7d6855
2 changed files with 4 additions and 1 deletions

View File

@@ -301,6 +301,9 @@ class WebsocketHandler {
rbfReplacements = rbfCache.getRbfTrees(false);
fullRbfReplacements = rbfCache.getRbfTrees(true);
}
for (const deletedTx of deletedTransactions) {
rbfCache.evict(deletedTx.txid);
}
const recommendedFees = feeApi.getRecommendedFee();
this.wss.clients.forEach(async (client) => {