Fix off by one line error
MODIFY
WalletWasabi/WabiSabi/Client/CoinJoinClient.cs
WalletWasabi/WabiSabi/Client/CoinJoinClient.cs
@@ -289,12 +289,12 @@ public class CoinJoinClient
return (aliceClient, personCircuit);
}
catch (WabiSabiProtocolException wpe)
+ {
+ if (wpe.ErrorCode == WabiSabiProtocolErrorCode.WrongPhase)
{
// Cancel all remaining pending input registrations because they will arrive late too.
registrationsCts.Cancel();
- if (wpe.ErrorCode == WabiSabiProtocolErrorCode.WrongPhase)
- {
if (wpe.ExceptionData is WrongPhaseExceptionData wrongPhaseExceptionData)
{
if (wrongPhaseExceptionData.CurrentPhase != Phase.InputRegistration

Fix off by one line error