Skip to content

Commit

Permalink
fix(background/wallet): missing await with key auto-add (#822)
Browse files Browse the repository at this point in the history
  • Loading branch information
sidvishnoi authored Jan 13, 2025
1 parent 6fe30d7 commit e1f2641
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/background/services/wallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ export class WalletService {

try {
// add key to wallet and try again
this.retryAddPublicKeyToWallet(walletAddress);
await this.retryAddPublicKeyToWallet(walletAddress);
await this.storage.setState({ key_revoked: false });
} catch (error) {
this.setConnectStateError(error);
Expand Down

0 comments on commit e1f2641

Please sign in to comment.