Skip to content

Commit

Permalink
fix: remove closeSignClient for mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
IsaccoSordo committed Nov 14, 2024
1 parent 379263d commit 0ab714e
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -385,10 +385,6 @@ export class WalletConnectCommunicationClient extends CommunicationClient {
}
}

if (this.signClient && !this.isLeader() && this.isMobileOS()) {
await this.closeSignClient()
}

if (!publicKey) {
throw new Error('Public Key in `tezos_getAccounts` is empty!')
}
Expand Down Expand Up @@ -987,6 +983,8 @@ export class WalletConnectCommunicationClient extends CommunicationClient {

await this.closeSignClient()
await this.storage.resetState()
this.storage.notify('RESET')

}

private async closeSessions() {
Expand Down

0 comments on commit 0ab714e

Please sign in to comment.