Correct possible rounding error
resolves
MODIFY
WalletWasabi/Services/CcjClient.cs
WalletWasabi/Services/CcjClient.cs
@@ -350,7 +350,7 @@ namespace WalletWasabi.Services
minAmountBack -= minimumChangeAmount; // Minus coordinator protections (so it won't create bad coinjoins.)
}
- if (amountBack < minAmountBack)
+ if (amountBack < minAmountBack && !amountBack.Almost(minAmountBack, new Money(10000))) // I catched an issue here, probably rounding. 1000 dust should be enough to catch it, but let's do 10000, why not.
{
throw new NotSupportedException("Coordinator did not add enough value to our outputs in the coinjoin.");
}

Correct possible rounding error

resolves https://github.com/zkSNACKs/WalletWasabi/issues/1119