Prevent sleep in Critical CJ Phase
MODIFY
WalletWasabi/Services/SystemAwakeChecker.cs
WalletWasabi/Services/SystemAwakeChecker.cs
@@ -80,7 +80,7 @@ namespace WalletWasabi.Services
break;
- case CoinJoinClientState.InProgress:
+ case CoinJoinClientState.InProgress or CoinJoinClientState.InCriticalPhase:
if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux) || RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
{
if (task is not null)
@@ -105,10 +105,6 @@ namespace WalletWasabi.Services
break;
- case CoinJoinClientState.InCriticalPhase:
-
- break;
-
default:
throw new ArgumentOutOfRangeException();
}

Prevent sleep in Critical CJ Phase