From d6d3bdef079504059c1d9a73ef14f4f46ddb6f83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kurk=C3=B3=20Mih=C3=A1ly?= Date: Wed, 10 Apr 2019 10:15:01 +0300 Subject: [PATCH] accounts: add note about backing up the keystore --- accounts/keystore/key.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/accounts/keystore/key.go b/accounts/keystore/key.go index 84d8df0c5a..56ec48f3bb 100644 --- a/accounts/keystore/key.go +++ b/accounts/keystore/key.go @@ -179,6 +179,8 @@ func storeNewKey(ks keyStore, rand io.Reader, auth string) (*Key, accounts.Accou zeroKey(key.PrivateKey) return nil, a, err } + fmt.Printf("Your new key is generated. Please backup the key file: %s\n", a.URL) + return key, a, err }