accounts: add ErrDecrypt

This commit is contained in:
Felix Lange
2016-04-01 22:41:47 +02:00
parent a9f26dcd0d
commit 6f1ca0bc91
6 changed files with 8 additions and 9 deletions

View File

@ -263,7 +263,7 @@ func importWallet(ctx *cli.Context) {
acct, err := accman.ImportPreSaleKey(keyJson, passphrase)
if err != nil {
utils.Fatalf("Could not create the account: %v", err)
utils.Fatalf("%v", err)
}
fmt.Printf("Address: {%x}\n", acct.Address)
}