Skip to content

Commit

Permalink
Add address
Browse files Browse the repository at this point in the history
  • Loading branch information
mgavrila committed Dec 12, 2024
1 parent 9832acc commit a2e3ee4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/core/providers-strategy/CrossWindowProviderStrategy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@ export class CrossWindowProviderStrategy {
}

const provider = this.provider as unknown as IProvider;

if (this.address) {
provider.setAccount({ address: this.address });
}

provider.signTransactions = this.signTransactions;
provider.signMessage = this.signMessage;

Expand Down

0 comments on commit a2e3ee4

Please sign in to comment.