Remove not needed parameter
MODIFY
WalletWasabi/Blockchain/Mempool/MempoolService.cs
WalletWasabi/Blockchain/Mempool/MempoolService.cs
@@ -52,12 +52,11 @@ namespace WalletWasabi.Blockchain.Mempool
}
}
- public bool TryRemoveFromBroadcastStore(uint256 transactionHash, out TransactionBroadcastEntry entry)
+ public bool TryRemoveFromBroadcastStore(uint256 transactionHash)
{
lock (BroadcastStoreLock)
{
var found = BroadcastStore.FirstOrDefault(x => x.TransactionId == transactionHash);
- entry = found;
if (found is null)
{

MODIFY
WalletWasabi/Blockchain/TransactionBroadcasting/TransactionBroadcaster.cs
WalletWasabi/Blockchain/TransactionBroadcasting/TransactionBroadcaster.cs
@@ -177,7 +177,7 @@ namespace WalletWasabi.Blockchain.TransactionBroadcasting
}
finally
{
- BitcoinStore.MempoolService.TryRemoveFromBroadcastStore(transaction.GetHash(), out _); // Remove it just to be sure. Probably has been removed previously.
+ BitcoinStore.MempoolService.TryRemoveFromBroadcastStore(transaction.GetHash()); // Remove it just to be sure. Probably has been removed previously.
}
}

Remove not needed parameter