diff --git a/beacon-chain/main.go b/beacon-chain/main.go index 7a55ae2bb..3d6a03423 100644 --- a/beacon-chain/main.go +++ b/beacon-chain/main.go @@ -82,8 +82,6 @@ VERSION: cmd.TraceSampleFractionFlag, cmd.MonitoringPortFlag, cmd.DisableMonitoringFlag, - cmd.KeystorePasswordFlag, - cmd.KeystoreDirectoryFlag, debug.PProfFlag, debug.PProfAddrFlag, debug.PProfPortFlag, diff --git a/shared/cmd/flags.go b/shared/cmd/flags.go index de38341cc..a9ad8600f 100644 --- a/shared/cmd/flags.go +++ b/shared/cmd/flags.go @@ -71,12 +71,6 @@ var ( Usage: "Port used to listening and respond metrics for prometheus.", Value: 8080, } - // KeystoreDirectoryFlag defines a flag to indicate where the keystore of the user - // is located. - KeystoreDirectoryFlag = DirectoryFlag{ - Name: "keystore-dir", - Usage: "Keystore directory indicates which directory the keystore is located.", - } // KeystorePasswordFlag defines the password that will unlock the keystore file. KeystorePasswordFlag = cli.StringFlag{ Name: "keystore-password", diff --git a/validator/main.go b/validator/main.go index 1bbd959e3..725908e97 100644 --- a/validator/main.go +++ b/validator/main.go @@ -114,7 +114,6 @@ contract in order to activate the validator client`, cmd.TracingEndpointFlag, cmd.TraceSampleFractionFlag, cmd.KeystorePasswordFlag, - cmd.KeystoreDirectoryFlag, cmd.BootstrapNode, cmd.MonitoringPortFlag, debug.PProfFlag,