jmrossy / celo-web-wallet

Othello: A lightweight, self-sovereign wallet for the Celo network. Runs on the web and on desktop.
https://celowallet.app
MIT License
45 stars 28 forks source link

Use max option should account for fee cost #78

Open jmrossy opened 2 years ago

jmrossy commented 2 years ago

Expected behavior

Use max should adjust amount when sending/exchanging once fee is computed.

Actual behavior

It does not adjust and shows error if fee is greater than 0.01 of the input token. So it usually works anyway but for cREAL this error is more common.