Skip to content

Commit

Permalink
fix denoms by owner query pagination issue
Browse files Browse the repository at this point in the history
  • Loading branch information
harish551 committed Feb 27, 2023
1 parent 9a5249d commit 8c654ec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions keeper/grpc_query.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ func (k Keeper) Denoms(c context.Context, request *types.QueryDenomsRequest) (*t
denoms = append(denoms, *denom)
}
}
result.Pagination.Total = uint64(len(denoms))
} else {
for _, class := range result.Classes {
denom, err := k.GetDenomInfo(ctx, class.Id)
Expand Down

0 comments on commit 8c654ec

Please sign in to comment.