WalletConnectSwiftV2
WalletConnectSwiftV2 copied to clipboard
can't personal sign with v2, because the rpc request parameters has a ```nil``` & the index is not last
Describe the bug
can't personal sign with v2, because the rpc request parameters has a nil
, and AnyCodable will throw the error
- I have 4 parameters
- AnyCodable will throw when the 3rd parameter decode
- I need the 4th parameter to sign
https://github.com/WalletConnect/WalletConnectSwiftV2/blob/9e4e61095ee028d4d329803d6206380dc5f77d74/Sources/Commons/AnyCodable.swift#L160
SDK Version
- Client: WalletConnectSwiftV2
- Version 1.6.11
To Reproduce Steps to reproduce the behavior:
- open https://app.rhino.fi/portfolio
- Click on 'Connect Wallet'
- Click on 'Wallet Connect'
- use WalletConnectSwiftV2 scan the qr code
Expected behavior person sign success
Screenshots
Device (please complete the following information):
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
Additional context Add any other context about the problem here.
@JustLee-me sorry for long response, could you please check does issue still reproducing?