-
Notifications
You must be signed in to change notification settings - Fork 9
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
Zero-amount swap does not account for pair fee changes #602
Comments
So the issue here is that the swapper treats differently amount less swaps with regards to fees.
On top of that we can add a setting to allow automatic acceptance with some threshold (up to 20% above the estimated fees). Technically to support the above we need:
Let's discuss. |
Good idea! This payment will be in pending state anyway so we can add the indication there that it is waiting for approval. Sounds good. |
I'll prepare a PR |
If the pair fee hash changes during the zero-amount chain swap, the the server lockup quote validation fails:
Creation pair fees:
Validation pair fees:
The text was updated successfully, but these errors were encountered: