Closed klassare closed 1 year ago
Hi @klassare, the issue was caused by an internal signClient state misalignment with localStorage. Namely if you have two DApps, let's say A and B, if you first sync with A and then you reset&refresh with B (note with this action you are clearing storage entries) signClient in A won't notice those changes and therefore a subsequent call to signClient.session.getAll() and signClient.pairing.getAll() will return the old (and now discarded) sessions/pairings With one of the changes inside #612, we now give more importance to the values stored inside the storage rather than signClient. Relevant lines of code:
Describe the bug (current behavior) In some states the dapp can send requests to a wallet with no name.
To Reproduce Steps to reproduce the behavior:
Expected (correct) behavior It should show an error message if there is no connection with the wallet anymore.
Screenshots and/or logs
Environment
Additional context Branch: feat/transport-kukai-wc2