Skip to content

Commit

Permalink
added comment and trigger ci
Browse files Browse the repository at this point in the history
  • Loading branch information
dsawali committed May 14, 2024
1 parent d990528 commit 7dfd058
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ export class BeaconWallet implements WalletProvider {

constructor(options: DAppClientOptions) {
this.client = getDAppClientInstance(options);
// Subscribe to the active account set event, this will update when there are account changes happening in the dApp
this.client.subscribeToEvent(BeaconEvent.ACTIVE_ACCOUNT_SET, async (data) => {
this.account = data;
});
Expand Down

0 comments on commit 7dfd058

Please sign in to comment.