Commit f127799d authored by Péter Szilágyi's avatar Péter Szilágyi Committed by GitHub

Merge pull request #2750 from sybiload/develop

cmd/geth: fix the import error message
parents fd4e1614 6b1d7344
...@@ -316,7 +316,7 @@ func accountImport(ctx *cli.Context) error { ...@@ -316,7 +316,7 @@ func accountImport(ctx *cli.Context) error {
} }
key, err := crypto.LoadECDSA(keyfile) key, err := crypto.LoadECDSA(keyfile)
if err != nil { 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) 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)) passphrase := getPassPhrase("Your new account is locked with a password. Please give a password. Do not forget this password.", true, 0, utils.MakePasswordList(ctx))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment