Fix off by one required minimum amount error.
Resolves
Resolves
MODIFY
WalletWasabi/Models/ChaumianCoinJoin/CcjClientState.cs
WalletWasabi/Models/ChaumianCoinJoin/CcjClientState.cs
@@ -196,7 +196,7 @@ namespace WalletWasabi.Models.ChaumianCoinJoin
}
amountSoFar += coin.Amount;
- if (amountSoFar > amountNeededExceptInputFees + (feePerInputs * coinsToRegister.Count))
+ if (amountSoFar >= amountNeededExceptInputFees + (feePerInputs * coinsToRegister.Count))
{
// If input count doesn't reach the max input registration AND there are enough coins queued, then can register to mix.
return coinsToRegister.Select(x => (x.TransactionId, x.Index)).ToArray();

Fix off by one required minimum amount error.
Resolves https://github.com/zkSNACKs/WalletWasabi/issues/812
Resolves https://github.com/zkSNACKs/WalletWasabi/issues/813