Skip to content

Commit

Permalink
chore: reset _address to default
Browse files Browse the repository at this point in the history
  • Loading branch information
bluecco committed Sep 30, 2024
1 parent 97012ea commit 2b44892
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/connectors/webwallet/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ export class WebWalletConnector extends Connector {
async ready(): Promise<boolean> {
if (!_wallet) {
this._wallet = null
_address = null
return false
}

Expand Down Expand Up @@ -200,6 +201,7 @@ export class WebWalletConnector extends Connector {
this._wallet.off("accountsChanged", accountChangeCb)

_wallet = null
_address = null
this._wallet = null
}

Expand Down

0 comments on commit 2b44892

Please sign in to comment.