Remove RefreshRoundAsync
MODIFY
WalletWasabi/WabiSabi/Client/CoinJoinClient.cs
WalletWasabi/WabiSabi/Client/CoinJoinClient.cs
@@ -56,7 +56,6 @@ namespace WalletWasabi.WabiSabi.Client
{
try
{
- await RefreshRoundAsync(cancellationToken).ConfigureAwait(false);
var constructionState = RoundState.Assert<ConstructionState>();
// Calculate outputs values
@@ -102,14 +101,6 @@ namespace WalletWasabi.WabiSabi.Client
}
}
- private async Task RefreshRoundAsync(CancellationToken cancellationToken)
- {
- // this code is part of a `RoundUpdater` background service that fetches this information
- // periodically (PerioricRunner?)
- RoundState[] roundStates = await ArenaRequestHandler.GetStatusAsync(cancellationToken).ConfigureAwait(false);
- RoundState = roundStates.Single(x => x.Id == RoundId);
- }
-
private List<AliceClient> CreateAliceClients()
{
List<AliceClient> aliceClients = new();

Remove RefreshRoundAsync