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

@ -62,7 +62,7 @@ To sign a message contained in a file, use the --msgfile flag.
}
// 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)