good morning!!!!

Skip to content
Snippets Groups Projects
Commit 6b1d7344 authored by Yohann Léon's avatar Yohann Léon
Browse files

cmd/geth: fix the import error message

cmd/geth: include the error message on import failure
parent e0493457
No related branches found
No related tags found
No related merge requests found
......@@ -316,7 +316,7 @@ func accountImport(ctx *cli.Context) error {
}
key, err := crypto.LoadECDSA(keyfile)
if err != nil {
utils.Fatalf("keyfile must be given as argument")
utils.Fatalf("Failed to load the private key: %v", err)
}
accman := utils.MakeAccountManager(ctx)
passphrase := getPassPhrase("Your new account is locked with a password. Please give a password. Do not forget this password.", true, 0, utils.MakePasswordList(ctx))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment