Closed crypto-matto closed 1 year ago
I think it's not a issue, DApp should follow the spec and pass the hexed string instead
I think it's not a issue, DApp should follow the spec and pass the hexed string instead
Agree. So far I also see DApps are usually passing hex string. I'll update this as a safety measure though. I've reflected this to @damoncro to consider hexing the string before passing the message in his service, as not sure if some other wallets will be missing the handling of this issue as well~
Issue
Message signing should often comes in Hex
But for some scenario, when a non-Hex string pass to WalletConnect, spaces got trimmed:
Tracing back to the source, it's the
WalletConnect
Class from lib@walletconnect
causing the issue.