Skip to content
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

Swap: Clear source input amount when changing source asset #187

Closed
GrassRootsCrypto opened this issue Mar 28, 2024 · 1 comment
Closed
Labels
enhancement New feature or request
Milestone

Comments

@GrassRootsCrypto
Copy link
Collaborator

When changing the source asset after putting in the amount, the amount is not reset.

e.g. Swapping 500 RUNE to LTC, if the source asset is changed from RUNE to BTC then the swap quote will be 500 BTC to LTC even though the wallet does not have 500 BTC.

If the source asset is changed, the source asset should reset to 0.

@GrassRootsCrypto GrassRootsCrypto added the enhancement New feature or request label Mar 28, 2024
@GrassRootsCrypto GrassRootsCrypto added this to the 1.21.6 milestone Mar 28, 2024
@GrassRootsCrypto
Copy link
Collaborator Author

Swapping input amount from RUNE to BTC
Also it is beyond my Max amount in the wallet

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: ✅ Done
Development

No branches or pull requests

2 participants