Skip to content

Commit

Permalink
Merge pull request #26 from Envoy-VC/main
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-hm authored Oct 7, 2024
2 parents d4c2b15 + 414c7d0 commit e9c0f69
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/client-payments/src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@ export class PaymentsClient {
}

const accounts = await this._signer.getAccounts();
if (!accounts[0]) {
throw new Error("No accounts found for provided signer.");
}

this._address = NilChainAddress.parse(accounts[0].address);

const options: SigningStargateClientOptions = {
Expand Down

0 comments on commit e9c0f69

Please sign in to comment.