dymension-rdk icon indicating copy to clipboard operation
dymension-rdk copied to clipboard

debug addr should accept `0x` prefix

Open mtsitrin opened this issue 1 year ago • 0 comments

Currently,

rollapp_evm debug addr 0xD2B358e35353f877ae903b5a1DF54731a15fE937

Error: expected hex or bech32. Got errors: hex: encoding/hex: invalid byte: U+0078 'x', bech32 acc: decoding bech32 failed: string not all lowercase or all uppercase, bech32 val: decoding bech32 failed: string not all lowercase or all uppercase

we should accept the 0x prefix for better UX

mtsitrin avatar Jul 02 '23 16:07 mtsitrin