Remove reset and do not start CJ twice
MODIFY
WalletWasabi.Fluent/ViewModels/Wallets/CoinJoinStateViewModel.cs
WalletWasabi.Fluent/ViewModels/Wallets/CoinJoinStateViewModel.cs
@@ -293,8 +293,6 @@ public partial class CoinJoinStateViewModel : ViewModelBase
CurrentStatus = _initialisingMessage;
- _overridePlebStop = false;
-
await coinJoinManager.StopAsync(_wallet, CancellationToken.None);
_stateMachine.Fire(Trigger.AutoCoinJoinEntered);

MODIFY
WalletWasabi/WabiSabi/Client/CoinJoinManager.cs
WalletWasabi/WabiSabi/Client/CoinJoinManager.cs
@@ -176,6 +176,9 @@ public class CoinJoinManager : BackgroundService
var registrationTimeout = TimeSpan.MaxValue;
NotifyCoinJoinStarted(walletToStart, registrationTimeout);
Logger.LogDebug($"Coinjoin client started for wallet '{walletToStart.WalletName}' auto-coinjoin: '{startCommand.RestartAutomatically}' overridePlebStop:'{startCommand.OverridePlebStop}'.");
+
+ // In case there was another start scheduled just remove it.
+ trackedAutoStarts.TryRemove(walletToStart, out _);
}
void StopCoinJoinCommand(StopCoinJoinCommand stopCommand)

Remove reset and do not start CJ twice