Fix typo No -> Not
MODIFY
WalletWasabi.Tests/UnitTests/WabiSabi/Backend/PhaseStepping/StepTransactionSigningTests.cs
WalletWasabi.Tests/UnitTests/WabiSabi/Backend/PhaseStepping/StepTransactionSigningTests.cs
@@ -167,7 +167,7 @@ public class StepTransactionSigningTests
await arena.TriggerAndWaitRoundAsync(TimeSpan.FromSeconds(21));
Assert.DoesNotContain(round, arena.Rounds.Where(x => x.Phase != Phase.Ended));
Assert.Equal(Phase.Ended, round.Phase);
- Assert.Equal(EndRoundState.AbortedNoEnoughAlicesSigned, round.EndRoundState);
+ Assert.Equal(EndRoundState.AbortedNotEnoughAlicesSigned, round.EndRoundState);
Assert.Empty(arena.Rounds.Where(x => x is BlameRound));
Assert.Contains(aliceClient2.SmartCoin.OutPoint, prison.GetInmates().Select(x => x.Utxo));

MODIFY
WalletWasabi/WabiSabi/Backend/Rounds/Arena.cs
WalletWasabi/WabiSabi/Backend/Rounds/Arena.cs
@@ -107,7 +107,7 @@ public partial class Arena : PeriodicRunner
{
continue;
}
- round.EndRound(EndRoundState.AbortedNoEnoughAlices);
+ round.EndRound(EndRoundState.AbortedNotEnoughAlices);
round.LogInfo($"Not enough inputs ({round.InputCount}) in {nameof(Phase.InputRegistration)} phase. The minimum is ({Config.MinInputCountByRound}).");
}
else if (round.IsInputRegistrationEnded(Config.MaxInputCountByRound))
@@ -161,7 +161,7 @@ public partial class Arena : PeriodicRunner
if (round.InputCount < Config.MinInputCountByRound)
{
- round.EndRound(EndRoundState.AbortedNoEnoughAlices);
+ round.EndRound(EndRoundState.AbortedNotEnoughAlices);
round.LogInfo($"Not enough inputs ({round.InputCount}) in {nameof(Phase.ConnectionConfirmation)} phase. The minimum is ({Config.MinInputCountByRound}).");
}
else
@@ -344,7 +344,7 @@ public partial class Arena : PeriodicRunner
}
else
{
- round.EndRound(EndRoundState.AbortedNoEnoughAlicesSigned);
+ round.EndRound(EndRoundState.AbortedNotEnoughAlicesSigned);
}
}

MODIFY
WalletWasabi/WabiSabi/Backend/Rounds/Round.cs
WalletWasabi/WabiSabi/Backend/Rounds/Round.cs
@@ -13,11 +13,11 @@ public enum EndRoundState
{
None,
AbortedWithError,
- AbortedNoEnoughAlices,
+ AbortedNotEnoughAlices,
TransactionBroadcastFailed,
TransactionBroadcasted,
NotAllAlicesSign,
- AbortedNoEnoughAlicesSigned
+ AbortedNotEnoughAlicesSigned
};
public class Round

MODIFY
WalletWasabi/WabiSabi/Client/CoinJoinClient.cs
WalletWasabi/WabiSabi/Client/CoinJoinClient.cs
@@ -209,8 +209,8 @@ public class CoinJoinClient
EndRoundState.TransactionBroadcasted => $"Broadcasted. Coinjoin TxId: ({unsignedCoinJoin.GetHash()})",
EndRoundState.TransactionBroadcastFailed => $"Failed to broadcast. Coinjoin TxId: ({unsignedCoinJoin.GetHash()})",
EndRoundState.AbortedWithError => "Round abnormally finished.",
- EndRoundState.AbortedNoEnoughAlices => "Aborted. Not enough participants.",
- EndRoundState.AbortedNoEnoughAlicesSigned => "Aborted. Not enough participants signed the coinjoin transaction.",
+ EndRoundState.AbortedNotEnoughAlices => "Aborted. Not enough participants.",
+ EndRoundState.AbortedNotEnoughAlicesSigned => "Aborted. Not enough participants signed the coinjoin transaction.",
EndRoundState.NotAllAlicesSign => "Aborted. Some Alices didn't sign. Go to blame round.",
EndRoundState.None => "Unknown.",
_ => throw new ArgumentOutOfRangeException()

Fix typo No -> Not