use normal if, not else-if
MODIFY
WalletWasabi/WabiSabi/Backend/Rounds/Arena.Partial.cs
WalletWasabi/WabiSabi/Backend/Rounds/Arena.Partial.cs
@@ -364,7 +364,8 @@ public partial class Arena : IWabiSabiApiRequestHandler
bannedUntil = inmate.Started + Config.ReleaseUtxoFromPrisonAfterLongBan;
throw new WabiSabiProtocolException(WabiSabiProtocolErrorCode.InputLongBanned, exceptionData: new InputBannedExceptionData(bannedUntil));
}
- else if (!Config.AllowNotedInputRegistration || inmate.Punishment != Punishment.Noted)
+
+ if (!Config.AllowNotedInputRegistration || inmate.Punishment != Punishment.Noted)
{
bannedUntil = inmate.Started + Config.ReleaseUtxoFromPrisonAfter;
throw new WabiSabiProtocolException(WabiSabiProtocolErrorCode.InputBanned, exceptionData: new InputBannedExceptionData(bannedUntil));

use normal if, not else-if