Skip to content

Commit

Permalink
fix(cli): avoid id isn't supported error when query address-by-acc-nu…
Browse files Browse the repository at this point in the history
…m (backport #21919) (#21921)

Co-authored-by: mmsqe <mavis@crypto.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
  • Loading branch information
3 people authored Sep 26, 2024
1 parent 388879c commit 596a65c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/auth/autocli.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func (am AppModule) AutoCLIOptions() *autocliv1.ModuleOptions {
RpcMethod: "AccountAddressByID",
Use: "address-by-acc-num <acc-num>",
Short: "Query account address by account number",
PositionalArgs: []*autocliv1.PositionalArgDescriptor{{ProtoField: "id"}},
PositionalArgs: []*autocliv1.PositionalArgDescriptor{{ProtoField: "account_id"}},
},
{
RpcMethod: "ModuleAccounts",
Expand Down

0 comments on commit 596a65c

Please sign in to comment.