Add cmd to subcommand list

This commit is contained in:
whyrusleeping 2019-10-10 12:59:32 +09:00
parent acec79cf3f
commit 4eaaefce09

View File

@ -21,6 +21,7 @@ var chainCmd = &cli.Command{
chainGetBlock,
chainReadObjCmd,
chainGetMsgCmd,
chainSetHeadCmd,
},
}
@ -206,7 +207,7 @@ var chainGetMsgCmd = &cli.Command{
},
}
var chainSetHead = &cli.Command{
var chainSetHeadCmd = &cli.Command{
Name: "sethead",
Usage: "manually set the local nodes head tipset (Caution: normally only used for recovery)",
Action: func(cctx *cli.Context) error {