X-Git-Url: http://git.osdn.net/view?p=bytom%2Fvapor.git;a=blobdiff_plain;f=cmd%2Fvapor%2Fcommands%2Frun_node.go;h=fdf7172cf65c0fb2996ed708e588901f14c4e4f8;hp=98e608ffc62a211e9dac307ad7067dd956a4562b;hb=ddc7106558f020bde24cc337d51649611dddaba8;hpb=7d76d575f5101652fba26714b1b6b6523220e126 diff --git a/cmd/vapor/commands/run_node.go b/cmd/vapor/commands/run_node.go index 98e608ff..fdf7172c 100644 --- a/cmd/vapor/commands/run_node.go +++ b/cmd/vapor/commands/run_node.go @@ -67,6 +67,8 @@ func init() { runNodeCmd.Flags().String("signer", config.Signer, "The signer corresponds to xpub of signblock") runNodeCmd.Flags().String("side.sign_block_xpubs", config.Side.SignBlockXPubs, "Change federated peg to use a different xpub.") + runNodeCmd.Flags().String("consensus_config_file", config.ConsensusConfigFile, "consensus configuration file") + RootCmd.AddCommand(runNodeCmd) }