Merge pull request #2750 from sybiload/develop

cmd/geth: fix the import error message
This commit is contained in:
Péter Szilágyi 2016-06-29 14:12:46 +03:00 committed by GitHub
commit f127799d79
1 changed files with 1 additions and 1 deletions

View File

@ -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))