bitlogik / pyWalletConnect

WalletConnect implementation for Python wallets
GNU General Public License v3.0
47 stars 15 forks source link

Wallet sending irn_subscribe always got irn_subscription twice from App? #14

Closed wayne-yu-anchorage closed 1 year ago

wayne-yu-anchorage commented 1 year ago

Hi,

This might not be a bug in the Python code but I just wanted to bring to your attention.

When experimenting with the Python Wallet client https://github.com/bitlogik/pyWalletConnect (with https://gist.github.com/bitlogik/89b41bb60443c041704f82bcd9b43901 as the command-line driver) against the testing App https://react-app.walletconnect.com/ (with projectID = f19f5c8e2b1ea7fbd382583761c167b3).

One thing I'm noticing: whenever the Wallet sends a irn_subscribe request, it would always receive two responses from the App, both are either completely identical (including the ID which is a timestamp-based value), or near-identical (everything identical, except the ID).

Is this expected, or just a bug in the react-app ? I also posted the question in WalletConnect Discord.

Thank you.