-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using max_taker_vol with sell resulted into StartFailed swap on balance check. #888
Comments
Could not reproduce it, will check again. |
possibly after adding the fees the amount required is larger than the amount available. a rounding or lack of it error. maybe the same bug as the one when the swap fails and it gives you a incredibly long number as the amount you are trying to swap. |
@samurai321 Thanks for your comment. The problem was different a bit - balance check at swap start didn't use the 10% dex fee discount when maker coin is KMD. I have fixed it. Incredibly long numbers are fine as we use rational numbers, and some of these can't be represented as finite decimal (e.g. 1/3). |
Fixed |
I tried to trade using this combination and the swap failed. Need to check and fix it.
The text was updated successfully, but these errors were encountered: