You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attempting to connect to https://coinmarketcap.com pairing succeeds, but it fails on the next step during authentication via personal_sign. Also the message is not visible to the user on the signing modal.
It seems like the issue is that most dapps send the personal_sign data as hex already, while here they send it as UTF-8. We should check if the data is sent as hex before hashing it, and if it's not - hex it ourselves. The same with displaying it - only decode it to UTF-8 if it is hex encoded.
Expected behavior
Can see the authentication message (message signing) and connect to CoinMarketCap successfully.
Actual behavior
Can't see the message nor connect to CoinMarketCap
Bug Report
Problem
When attempting to connect to https://coinmarketcap.com pairing succeeds, but it fails on the next step during authentication via
personal_sign
. Also the message is not visible to the user on the signing modal.It seems like the issue is that most dapps send the
personal_sign
data as hex already, while here they send it as UTF-8. We should check if the data is sent as hex before hashing it, and if it's not - hex it ourselves. The same with displaying it - only decode it to UTF-8 if it is hex encoded.Expected behavior
Can see the authentication message (message signing) and connect to CoinMarketCap successfully.
Actual behavior
Can't see the message nor connect to CoinMarketCap
Reproduction
personal_sign
requestAdditional Information
The text was updated successfully, but these errors were encountered: