From 107c67d74ebfee16616bac92d0c39c8bfc9348ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kurk=C3=B3=20Mih=C3=A1ly?= Date: Tue, 7 May 2019 15:49:51 +0300 Subject: accounts, cmd, internal, signer: add note about backing up the keystore (#19432) * accounts: add note about backing up the keystore * cmd, accounts: move the printout to accountCreate * internal, signer: add info when new account is created via rpc * cmd, internal, signer: split logs * cmd/geth: make account new output a bit more verbose --- signer/core/api.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'signer/core') diff --git a/signer/core/api.go b/signer/core/api.go index 671fbf79b..783aaece4 100644 --- a/signer/core/api.go +++ b/signer/core/api.go @@ -392,6 +392,9 @@ func (api *SignerAPI) New(ctx context.Context) (common.Address, error) { } else { // No error acc, err := be[0].(*keystore.KeyStore).NewAccount(resp.Text) + log.Info("Your new key was generated", "address", acc.Address) + log.Warn("Please backup your key file!", "path", acc.URL.Path) + log.Warn("Please remember your password!") return acc.Address, err } } -- cgit v1.2.3