Skip to content

Commit

Permalink
Await renounce perms request
Browse files Browse the repository at this point in the history
  • Loading branch information
aryzing committed Jul 3, 2024
1 parent fdde90e commit b1e8c88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class Wallet {
}

public async disconnect() {
this.request('wallet_renouncePermissions', undefined);
await this.request('wallet_renouncePermissions', undefined);
this.providerId = undefined;
removeDefaultProvider();
}
Expand Down

0 comments on commit b1e8c88

Please sign in to comment.