[misc] remove unused flags

Signed-off-by: Leo Chen <leo@harmony.one>
pull/1207/head
Leo Chen 5 years ago
parent 5f6a8a12bf
commit d5a3fc0396
  1. 7
      cmd/harmony/main.go

@ -112,13 +112,6 @@ var (
keystoreDir = flag.String("keystore", hmykey.DefaultKeyStoreDir, "The default keystore directory") keystoreDir = flag.String("keystore", hmykey.DefaultKeyStoreDir, "The default keystore directory")
// -nopass is false by default. The keyfile must be encrypted.
hmyNoPass = flag.Bool("nopass", false, "No passphrase for the key (testing only)")
// -pass takes on "pass:password", "env:var", "file:pathname",
// "fd:number", or "stdin" form.
// See “PASS PHRASE ARGUMENTS” section of openssl(1) for details.
hmyPass = flag.String("pass", "", "how to get passphrase for the key")
ks *keystore.KeyStore ks *keystore.KeyStore
genesisAccount *genesis.DeployAccount genesisAccount *genesis.DeployAccount
accountIndex int accountIndex int

Loading…
Cancel
Save