KomodoPlatform / komodo-wallet-desktop

Komodo Wallet Desktop GUI
https://atomicdex.io
GNU General Public License v2.0
237 stars 201 forks source link

[BUG]: Unknown error in address validation #1150

Closed smk762 closed 2 years ago

smk762 commented 2 years ago

Describe the bug Entering a GLEEC-OLD address for GLEEC (smartchain) returns "unknown error"

To Reproduce Steps to reproduce the behavior:

  1. Go to GLEEC wallet
  2. Try to send funds to FEMqAugC5U7atqDuV8s9EBEuCKJb2UGb3p
  3. See error

Expected behavior Should return "GLEEC address is invalid"

Screenshots image image

Additional context removing one char = "GLEEC address is invalid" changing last char = "Invalid checksum"

As the address is valid (just not for smartchains), it does not fail the checksum test. A similar error appears when entering a smartchain address for GLEEC-OLD

Milerius commented 2 years ago

@smk762 do you mind to test in CLI and let us know how react mm2 in this case ?

smk762 commented 2 years ago

{"result":{"is_valid":false,"reason":"utxo_common:1493] Address FNX7LtPxdutGkeLYhBybRixJ7FFZAhyBkp has invalid prefixes"}}