Skip to content

Commit

Permalink
chore: fix hardcoded denom
Browse files Browse the repository at this point in the history
  • Loading branch information
npty committed Sep 21, 2023
1 parent 93546e6 commit 5dcb4e9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/axelar-local-dev-cosmos/src/CosmosClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ export class CosmosClient {
}

getBalance(address: string) {
return this.client?.getBalance(address, "stake").then((res) => res.amount);
return this.client
?.getBalance(address, this.chainInfo.denom)
.then((res) => res.amount);
}

async getOwnerBalance() {
Expand Down

0 comments on commit 5dcb4e9

Please sign in to comment.