aboutsummaryrefslogtreecommitdiffstats
path: root/signer/core
diff options
context:
space:
mode:
authorKurkó Mihály <kurkomisi@users.noreply.github.com>2019-05-07 20:49:51 +0800
committerPéter Szilágyi <peterke@gmail.com>2019-05-07 20:49:51 +0800
commit107c67d74ebfee16616bac92d0c39c8bfc9348ae (patch)
tree82588f987ee8a345183e03aa2403e1c5cf9695ed /signer/core
parentc8cf360f29f00d16aacf9a0592dd3621efef0d41 (diff)
downloadgo-tangerine-107c67d74ebfee16616bac92d0c39c8bfc9348ae.tar
go-tangerine-107c67d74ebfee16616bac92d0c39c8bfc9348ae.tar.gz
go-tangerine-107c67d74ebfee16616bac92d0c39c8bfc9348ae.tar.bz2
go-tangerine-107c67d74ebfee16616bac92d0c39c8bfc9348ae.tar.lz
go-tangerine-107c67d74ebfee16616bac92d0c39c8bfc9348ae.tar.xz
go-tangerine-107c67d74ebfee16616bac92d0c39c8bfc9348ae.tar.zst
go-tangerine-107c67d74ebfee16616bac92d0c39c8bfc9348ae.zip
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
Diffstat (limited to 'signer/core')
-rw-r--r--signer/core/api.go3
1 files changed, 3 insertions, 0 deletions
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
}
}