mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
accounts: add note about backing up the keystore
This commit is contained in:
parent
7c91038bff
commit
d6d3bdef07
1 changed files with 2 additions and 0 deletions
|
|
@ -179,6 +179,8 @@ func storeNewKey(ks keyStore, rand io.Reader, auth string) (*Key, accounts.Accou
|
||||||
zeroKey(key.PrivateKey)
|
zeroKey(key.PrivateKey)
|
||||||
return nil, a, err
|
return nil, a, err
|
||||||
}
|
}
|
||||||
|
fmt.Printf("Your new key is generated. Please backup the key file: %s\n", a.URL)
|
||||||
|
|
||||||
return key, a, err
|
return key, a, err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue