From d5a3fc0396183d958cdc7da49f7cbc0a70dbdf20 Mon Sep 17 00:00:00 2001 From: Leo Chen Date: Tue, 9 Jul 2019 02:19:58 -0700 Subject: [PATCH] [misc] remove unused flags Signed-off-by: Leo Chen --- cmd/harmony/main.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/cmd/harmony/main.go b/cmd/harmony/main.go index 7a10e2d08..2034881e8 100644 --- a/cmd/harmony/main.go +++ b/cmd/harmony/main.go @@ -112,13 +112,6 @@ var ( 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 genesisAccount *genesis.DeployAccount accountIndex int