renamed state subcommand to tendermint
This commit is contained in:
parent
744f78573e
commit
aa41cefb1e
|
@ -39,15 +39,15 @@ func main() {
|
||||||
rpc.AddCommands(rootCmd)
|
rpc.AddCommands(rootCmd)
|
||||||
|
|
||||||
//Add state commands
|
//Add state commands
|
||||||
stateCmd := &cobra.Command{
|
tendermintCmd := &cobra.Command{
|
||||||
Use: "state",
|
Use: "tendermint",
|
||||||
Short: "State querying subcommands (validators, blocks, transactions)",
|
Short: "Tendermint state querying subcommands",
|
||||||
}
|
}
|
||||||
stateCmd.AddCommand(
|
tendermintCmd.AddCommand(
|
||||||
rpc.BlockCommand(),
|
rpc.BlockCommand(),
|
||||||
rpc.ValidatorCommand(),
|
rpc.ValidatorCommand(),
|
||||||
)
|
)
|
||||||
tx.AddCommands(stateCmd, cdc)
|
tx.AddCommands(tendermintCmd, cdc)
|
||||||
|
|
||||||
//Add IBC commands
|
//Add IBC commands
|
||||||
ibcCmd := &cobra.Command{
|
ibcCmd := &cobra.Command{
|
||||||
|
@ -66,7 +66,7 @@ func main() {
|
||||||
}
|
}
|
||||||
|
|
||||||
advancedCmd.AddCommand(
|
advancedCmd.AddCommand(
|
||||||
stateCmd,
|
tendermintCmd,
|
||||||
ibcCmd,
|
ibcCmd,
|
||||||
lcd.ServeCommand(cdc),
|
lcd.ServeCommand(cdc),
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue