aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/ethkey/generate.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/ethkey/generate.go')
-rw-r--r--cmd/ethkey/generate.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/ethkey/generate.go b/cmd/ethkey/generate.go
index 6d57d17fb..fe9a0c151 100644
--- a/cmd/ethkey/generate.go
+++ b/cmd/ethkey/generate.go
@@ -90,7 +90,7 @@ If you want to encrypt an existing private key, it can be specified by setting
}
// Encrypt key with passphrase.
- passphrase := getPassPhrase(ctx, true)
+ passphrase := promptPassphrase(true)
keyjson, err := keystore.EncryptKey(key, passphrase, keystore.StandardScryptN, keystore.StandardScryptP)
if err != nil {
utils.Fatalf("Error encrypting key: %v", err)