walletconnect-dart-sdk icon indicating copy to clipboard operation
walletconnect-dart-sdk copied to clipboard

Fix `personal_sign` generates wrong signature

Open HaoCherHong opened this issue 2 years ago • 0 comments

According to this walletconnect protocal doc, correct order of params is [message, address] instead of [address, message]. And there is no password parameter.

This error only occurs in certain wallet app because some apps like MetaMask and ImToken handles the params in both order.

Close #80

Changes

fix personal_sign params order

HaoCherHong avatar Jan 11 '23 09:01 HaoCherHong