From 5b75f4e6be4eff359b2d0354b5f99dc070e5f4b2 Mon Sep 17 00:00:00 2001 From: Nishant Das Date: Thu, 6 Aug 2020 20:49:41 +0800 Subject: [PATCH] add feature config support (#6904) --- validator/accounts/v2/cmd_accounts.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/validator/accounts/v2/cmd_accounts.go b/validator/accounts/v2/cmd_accounts.go index f825f5651..b28865d3d 100644 --- a/validator/accounts/v2/cmd_accounts.go +++ b/validator/accounts/v2/cmd_accounts.go @@ -28,6 +28,7 @@ this command outputs a deposit data string which is required to become a validat featureconfig.OnyxTestnet, }, Action: func(cliCtx *cli.Context) error { + featureconfig.ConfigureValidator(cliCtx) if err := CreateAccount(cliCtx); err != nil { log.Fatalf("Could not create new account: %v", err) } @@ -46,6 +47,7 @@ this command outputs a deposit data string which is required to become a validat featureconfig.OnyxTestnet, }, Action: func(cliCtx *cli.Context) error { + featureconfig.ConfigureValidator(cliCtx) if err := ListAccounts(cliCtx); err != nil { log.Fatalf("Could not list accounts: %v", err) } @@ -63,6 +65,7 @@ this command outputs a deposit data string which is required to become a validat featureconfig.OnyxTestnet, }, Action: func(cliCtx *cli.Context) error { + featureconfig.ConfigureValidator(cliCtx) if err := ExportAccount(cliCtx); err != nil { log.Fatalf("Could not export accounts: %v", err) } @@ -82,6 +85,7 @@ this command outputs a deposit data string which is required to become a validat featureconfig.OnyxTestnet, }, Action: func(cliCtx *cli.Context) error { + featureconfig.ConfigureValidator(cliCtx) if err := ImportAccount(cliCtx); err != nil { log.Fatalf("Could not import accounts: %v", err) }