aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2016-06-29 19:12:46 +0800
committerGitHub <noreply@github.com>2016-06-29 19:12:46 +0800
commitf127799d795eaf2d6f99780c058361cd561492f1 (patch)
treee6133b5cd1087412f45614703e38d6b79b513de6 /cmd
parentfd4e161497156a5d12fd8712f41574bc7fb20404 (diff)
parent6b1d73446dc3d1a2c7d9fb70dea12a5549ff47b5 (diff)
downloadgo-tangerine-f127799d795eaf2d6f99780c058361cd561492f1.tar.gz
go-tangerine-f127799d795eaf2d6f99780c058361cd561492f1.tar.zst
go-tangerine-f127799d795eaf2d6f99780c058361cd561492f1.zip
Merge pull request #2750 from sybiload/develop
cmd/geth: fix the import error message
Diffstat (limited to 'cmd')
-rw-r--r--cmd/geth/accountcmd.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/geth/accountcmd.go b/cmd/geth/accountcmd.go
index 1415240eb..7fea16a25 100644
--- a/cmd/geth/accountcmd.go
+++ b/cmd/geth/accountcmd.go
@@ -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))