fix(autocli): Fix subcmd added to root cmd (#15378)
This commit is contained in:
parent
6a03586074
commit
e30f2e8907
@ -20,7 +20,7 @@ func (b *Builder) BuildMsgCommand(moduleOptions map[string]*autocliv1.ModuleOpti
|
||||
txCmdDesc := modOpts.Tx
|
||||
if txCmdDesc != nil {
|
||||
subCmd := topLevelCmd(moduleName, fmt.Sprintf("Transations commands for the %s module", moduleName))
|
||||
err := b.AddMsgServiceCommands(cmd, txCmdDesc)
|
||||
err := b.AddMsgServiceCommands(subCmd, txCmdDesc)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user