Privatize StartRoundAsync
MODIFY
WalletWasabi.Tests/UnitTests/WabiSabi/Integration/WabiSabiHttpApiIntegrationTests.cs
WalletWasabi.Tests/UnitTests/WabiSabi/Integration/WabiSabiHttpApiIntegrationTests.cs
@@ -218,7 +218,7 @@ namespace WalletWasabi.Tests.UnitTests.WabiSabi.Integration
var noSignatureApiClient = new SignatureDroppingClient(new HttpClientWrapper(httpClient));
var badCoinJoinClient = new CoinJoinClient(noSignatureApiClient, kitchen, keyManager2, roundStateUpdater);
- var badCoinsTask = Task.Run(async () => await badCoinJoinClient.StartRoundAsync(badCoins, roundState, cts.Token).ConfigureAwait(false), cts.Token);
+ var badCoinsTask = Task.Run(async () => await badCoinJoinClient.StartCoinJoinAsync(badCoins, cts.Token).ConfigureAwait(false), cts.Token);
await Task.WhenAll(new Task[] { badCoinsTask, coinJoinTask });

MODIFY
WalletWasabi/WabiSabi/Client/CoinJoinClient.cs
WalletWasabi/WabiSabi/Client/CoinJoinClient.cs
@@ -74,7 +74,7 @@ namespace WalletWasabi.WabiSabi.Client
/// <summary>Attempt to participate in a specified dround.</summary>
/// <param name="roundState">Defines the round parameter and state information to use.</param>
/// <returns>Whether or not the round resulted in a successful transaction.</returns>
- public async Task<bool> StartRoundAsync(IEnumerable<SmartCoin> smartCoins, RoundState roundState, CancellationToken cancellationToken)
+ private async Task<bool> StartRoundAsync(IEnumerable<SmartCoin> smartCoins, RoundState roundState, CancellationToken cancellationToken)
{
var constructionState = roundState.Assert<ConstructionState>();

Privatize StartRoundAsync