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 a user rejects a WalletConnect connection, they cannot add another one until they close and reopen the desktop application because the old connection event is never deleted. This happens because the reject handler does not call removeEvent(proposalEvents) like the approve function does.
Description
When a user rejects a WalletConnect connection, they cannot add another one until they close and reopen the desktop application because the old connection event is never deleted. This happens because the reject handler does not call removeEvent(proposalEvents) like the approve function does.
lisk-desktop/libs/wcm/hooks/useSession.js
Lines 37 to 73 in 8238f41
Recommendation
Clear the event from the list of events on both approval and rejection. This will ensure that a processed event is not shown to the user again.
Which version(s) does this affect? (Environment, OS, etc...)
3.0
The text was updated successfully, but these errors were encountered: