chore: gofumpt (#11839)
* fumpt using main not master... * be more descriptive * fumpt * fix nits Co-authored-by: Julien Robert <julien@rbrt.fr>
This commit is contained in:
co-authored by
Julien Robert
parent
bc2d553f77
commit
55054282d2
@@ -234,7 +234,6 @@ $ %s query gov vote 1 cosmos1skjwj5whet0lpe65qaq4rpq03hjxlwd9nf39lk
|
||||
if vote.Empty() {
|
||||
params := v1.NewQueryVoteParams(proposalID, voterAddr)
|
||||
resByTxQuery, err := gcutils.QueryVoteByTxQuery(clientCtx, params)
|
||||
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
@@ -320,13 +319,11 @@ $ %[1]s query gov votes 1 --page=2 --limit=100
|
||||
ctx,
|
||||
&v1.QueryVotesRequest{ProposalId: proposalID, Pagination: pageReq},
|
||||
)
|
||||
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
return clientCtx.PrintProto(res)
|
||||
|
||||
},
|
||||
}
|
||||
|
||||
@@ -440,7 +437,6 @@ $ %s query gov deposits 1
|
||||
ctx,
|
||||
&v1.QueryDepositsRequest{ProposalId: proposalID, Pagination: pageReq},
|
||||
)
|
||||
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user