Apply Async prefixes
MODIFY
WalletWasabi.Tests/NodeBuilding/CoreNode.cs
WalletWasabi.Tests/NodeBuilding/CoreNode.cs
@@ -288,7 +288,7 @@ namespace WalletWasabi.Tests.NodeBuilding
return tasks.Select(b => b.GetAwaiter().GetResult()).ToArray();
}
- public async Task<Block[]> GenerateEmptyBlocks(int height, BitcoinAddress minerAddress, int blockCount)
+ public async Task<Block[]> GenerateEmptyBlocksAsync(int height, BitcoinAddress minerAddress, int blockCount)
{
var rpc = CreateRpcClient();
var bestBlock = await rpc.GetBlockAsync(height);
@@ -321,7 +321,7 @@ namespace WalletWasabi.Tests.NodeBuilding
return blocks.ToArray();
}
- public async Task<Block[]> GenerateEmptyBlock(int height, BitcoinAddress minerAddress, int blockCount)
+ public async Task<Block[]> GenerateEmptyBlockAsync(int height, BitcoinAddress minerAddress, int blockCount)
{
var now = DateTimeOffset.UtcNow;
var rpc = CreateRpcClient();

MODIFY
WalletWasabi.Tests/RegTests.cs
WalletWasabi.Tests/RegTests.cs
@@ -1236,7 +1236,7 @@ namespace WalletWasabi.Tests
// Test synchronization after fork with different transactions.
// Create a fork that invalidates the blocks containing the funding transaction
_filtersProcessedByWalletCount = 0;
- var winningFork = await RegTestFixture.BackendRegTestNode.GenerateEmptyBlocks(100,
+ var winningFork = await RegTestFixture.BackendRegTestNode.GenerateEmptyBlocksAsync(100,
new Key().PubKey.GetAddress(Global.RpcClient.Network), 10);
tip = await Global.RpcClient.GetBestBlockHashAsync();

Apply Async prefixes