If the wallet is not under plebStop, do not override anymore
MODIFY
WalletWasabi/WabiSabi/Client/CoinJoinManager.cs
WalletWasabi/WabiSabi/Client/CoinJoinManager.cs
@@ -57,6 +57,13 @@ public class CoinJoinManager : BackgroundService
private async Task StartAsync(Wallet wallet, bool restartAutomatically, bool overridePlebStop, CancellationToken cancellationToken)
{
+ if (overridePlebStop && !wallet.IsUnderPlebStop)
+ {
+ // Turn off overriding if we went above the threshold meanwhile.
+ overridePlebStop = false;
+ wallet.LogDebug($"Do not override PlebStop anymore we are above the threshold.");
+ }
+
await CommandChannel.Writer.WriteAsync(new StartCoinJoinCommand(wallet, restartAutomatically, overridePlebStop), cancellationToken).ConfigureAwait(false);
}

If the wallet is not under plebStop, do not override anymore