Skip to content

Commit

Permalink
Add Network Flags to Slashing Protection Export Command (#9907)
Browse files Browse the repository at this point in the history
  • Loading branch information
rauljordan authored Nov 15, 2021
1 parent 720ee3f commit b5ca09b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmd/validator/slashing-protection/slashing-protection.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ var Commands = &cli.Command{
Flags: cmd.WrapFlags([]cli.Flag{
cmd.DataDirFlag,
flags.SlashingProtectionExportDirFlag,
features.Mainnet,
features.PyrmontTestnet,
features.PraterTestnet,
cmd.AcceptTosFlag,
}),
Before: func(cliCtx *cli.Context) error {
if err := cmd.LoadFlagsFromConfig(cliCtx, cliCtx.Command.Flags); err != nil {
Expand Down

0 comments on commit b5ca09b

Please sign in to comment.