simplify error handling switch case
MODIFY
WalletWasabi/WabiSabi/Client/AliceClient.cs
WalletWasabi/WabiSabi/Client/AliceClient.cs
@@ -108,7 +108,7 @@ public class AliceClient
Logger.LogInfo($"{coin.Coin.Outpoint} is spent according to the backend. The wallet is not fully synchronized or corrupted.");
break;
- case WabiSabiProtocolErrorCode.InputBanned:
+ case WabiSabiProtocolErrorCode.InputBanned or WabiSabiProtocolErrorCode.InputLongBanned:
var remainingTimeAsString = wpe.Message;
var remaining = TimeSpan.Parse(remainingTimeAsString);
coin.BannedUntilUtc = DateTimeOffset.Now + remaining;
@@ -116,14 +116,6 @@ public class AliceClient
Logger.LogInfo($"{coin.Coin.Outpoint} is banned until {coin.BannedUntilUtc}.");
break;
- case WabiSabiProtocolErrorCode.InputLongBanned:
- remainingTimeAsString = wpe.Message;
- remaining = TimeSpan.Parse(remainingTimeAsString);
- coin.BannedUntilUtc = DateTimeOffset.Now + remaining;
- coin.SetIsBanned();
- Logger.LogInfo($"{coin.Coin.Outpoint} is long banned until {coin.BannedUntilUtc}.");
- break;
-
case WabiSabiProtocolErrorCode.InputNotWhitelisted:
coin.SpentAccordingToBackend = false;
Logger.LogWarning($"{coin.Coin.Outpoint} cannot be registered in the blame round.");

simplify error handling switch case