Skip to content

Commit

Permalink
fix: bind
Browse files Browse the repository at this point in the history
  • Loading branch information
bangjelkoski committed Sep 22, 2023
1 parent 186eebf commit f18ae29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/sdk-ts/src/client/chain/grpc/ChainGrpcBankApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ export class ChainGrpcBankApi extends BaseGrpcConsumer {
async fetchAllTotalSupply(
pagination: PaginationOption = { limit: MAX_LIMIT_FOR_SUPPLY },
) {
return fetchAllWithPagination(pagination, this.fetchTotalSupply)
return fetchAllWithPagination(pagination, this.fetchTotalSupply.bind(this))
}

async fetchSupplyOf(denom: string) {
Expand Down

0 comments on commit f18ae29

Please sign in to comment.