Describe the bug
Cuando escribo un monto comenzando con 1, ej 1, 11 todo está bien, sin embargo, cuando empiezo con 2, me dice insufficient balance. Luego si antepongo un "0" puedo escribir lo que sea y no me tira insufficient balance.
To Reproduce
Steps to reproduce the behavior:
Go to '/bridge', connect both wallets, select asset to bridge
Click on input amount and write 2 or 022222222,
See error
Expected behavior
It should compare the amount correctly, it should not bug when typing 0 to the left.
Screenshots
Additional context
There might be something with the casting of the amounts before comparing.
Describe the bug Cuando escribo un monto comenzando con 1, ej 1, 11 todo está bien, sin embargo, cuando empiezo con 2, me dice insufficient balance. Luego si antepongo un "0" puedo escribir lo que sea y no me tira insufficient balance.
To Reproduce Steps to reproduce the behavior:
Expected behavior It should compare the amount correctly, it should not bug when typing 0 to the left.
Screenshots
Additional context There might be something with the casting of the amounts before comparing.