Closed LyonSsS closed 3 months ago
Severity: Medium | Priority: High Context: When using MAX button, allow spending and transfer are affected if the value is rounded >= actual balance.
Actual balance on chain:
Allow spending behavior:
Transfer Max ( after allow spending was done):
Retested on https://github.com/sygmaprotocol/sygma-widget/pull/137 but it is still an issue
Retested -> this is now fixed
Severity: Medium | Priority: High Context: When using MAX button, allow spending and transfer are affected if the value is rounded >= actual balance.
Actual balance on chain:![image](https://github.com/sygmaprotocol/sygma-widget/assets/30255634/6d85fbe1-9917-4d44-bb33-6ddecb3ddf59)
Allow spending behavior:![MAX_AllowSpending](https://github.com/sygmaprotocol/sygma-widget/assets/30255634/272cf0bc-6924-4a60-9d41-c8f1ed90b6dd)
Transfer Max ( after allow spending was done):![MAX_Transfer](https://github.com/sygmaprotocol/sygma-widget/assets/30255634/0b55b716-fd18-4e96-bc53-456771df3b19)