Add magic swallow of abandontransaction fail
MODIFY
WalletWasabi.Tests/RegTests.cs
WalletWasabi.Tests/RegTests.cs
@@ -1246,8 +1246,14 @@ namespace WalletWasabi.Tests
// Create a fork that invalidates the blocks containing the funding transaction
_filtersProcessedByWalletCount = 0;
await Global.RpcClient.InvalidateBlockAsync(baseTip);
- await Task.Delay(1000); // Magic delay for magic RPC fail.
+ try
+ {
await Global.RpcClient.SendCommandAsync("abandontransaction", fundingTxid.ToString());
+ }
+ catch
+ {
+ // Magic swallow
+ }
await Global.RpcClient.GenerateAsync(10);
await WaitForFiltersToBeProcessedAsync(TimeSpan.FromSeconds(120), 10);

Add magic swallow of abandontransaction fail