cmd/ethkey: support --passwordfile in generate command (#21183)

This commit is contained in:
libby kent
2020-06-08 18:55:51 +09:00
committed by GitHub
parent da06519347
commit 45b7535137
5 changed files with 6 additions and 6 deletions

View File

@@ -51,7 +51,7 @@ Change the password of a keyfile.`,
}
// Decrypt key with passphrase.
passphrase := getPassphrase(ctx)
passphrase := getPassphrase(ctx, false)
key, err := keystore.DecryptKey(keyjson, passphrase)
if err != nil {
utils.Fatalf("Error decrypting key: %v", err)