Skip to content

Commit

Permalink
fix: cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
shifty11 committed Oct 30, 2023
1 parent 455a04b commit 2383167
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
3 changes: 1 addition & 2 deletions x/query/client/cli/query_funders.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,7 @@ func CmdShowFunder() *cobra.Command {
queryClient := types.NewQueryFundersClient(clientCtx)

params := &types.QueryFunderRequest{
Address: reqAddress,
WithInactiveFundings: true,
Address: reqAddress,
}

res, err := queryClient.Funder(context.Background(), params)
Expand Down
10 changes: 4 additions & 6 deletions x/query/client/cli/query_fundings.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@ func byFunder(
address string,
) error {
params := &types.QueryFundingsByFunderRequest{
Pagination: pageReq,
Address: address,
WithInactiveFundings: true,
Pagination: pageReq,
Address: address,
}

res, err := queryClient.FundingsByFunder(context.Background(), params)
Expand All @@ -37,9 +36,8 @@ func byPool(
poolId uint64,
) error {
params := &types.QueryFundingsByPoolRequest{
Pagination: pageReq,
PoolId: poolId,
WithInactiveFundings: true,
Pagination: pageReq,
PoolId: poolId,
}

res, err := queryClient.FundingsByPool(context.Background(), params)
Expand Down

0 comments on commit 2383167

Please sign in to comment.