Brief description of the bug
When sending SFX, the available amount is beeing checked to check whether the user has sufficient funds to do the transactions (sending amount + fee). Somehow when the sending amount is close the max available it reveals this check is not correct. Looks like some figures don’t add up or substraction is done multiple times, or wrong amounts are substracted.
Steps to reproduce
- Load Safexcashwallet
- Open your wallet
- Have some available amount
- Send close to available amount, but less than max minus fee
In my case i had 2872.67 sfx available, tried sending 2853 + 18.9 fee (total 2871), did not proceed
I tried multiple times to find out the boundary. Transaction proceded to confirmation at sending arround 2774 till 2783 SFX plus arround 19 fee which is a total of 2792/2802. Might be dependend on the fee.
Somehow to me looks like the check is “Sending Amount < (Available SFX Amount - SFX dollar value)” , because at some point 2785 was not allowed and 2783 was allowed and 2872SFX - 87 dollar is arround 2785. (much of a cooincidence ) So thresshold might be dependend on the dollar value and not the fee, if this is the case.
Not able to send close to max available SFX
Be able to send close to max available SFX
Reproduces how often?