Fix mempool cleanup algo
MODIFY
WalletWasabi/Services/MemPoolService.cs
WalletWasabi/Services/MemPoolService.cs
@@ -115,7 +115,7 @@ namespace WalletWasabi.Services
var compactness = 10;
var allMempoolHashes = await client.GetMempoolHashesAsync(compactness);
- var toRemove = TransactionHashes.Where(x => !allMempoolHashes.Any(y => y != x.ToString().Substring(0, compactness)));
+ var toRemove = TransactionHashes.Where(x => !allMempoolHashes.Any(y => y == x.ToString().Substring(0, compactness)));
foreach (uint256 tx in toRemove)
{
TransactionHashes.TryRemove(tx);

Fix mempool cleanup algo