pendulum-chain / pendulum-webapp

Repository for the testnet prototype of the Pendulum web application
GNU General Public License v3.0
1 stars 0 forks source link

Fix AMM max input value when not enough balance #48

Closed gonzamontiel closed 2 years ago

gonzamontiel commented 2 years ago

When interacting with the AMM, you can input amounts that would be subtracted from your balance. If you don't have enough balance to perform that operation, then it will silently fail, even saying that the operation succeeded. We need to set a max value for the amounts based on the balance

gonzamontiel commented 2 years ago

Old ticket, closing because we're changing the UI anyway.