accounts: use standard comment style

This commit is contained in:
cuiweixie 2024-02-25 22:21:09 +08:00
parent 93c541ad56
commit 4827a1d3d8

View file

@ -48,11 +48,11 @@ type Key struct {
}
type keyStore interface {
// Loads and decrypts the key from disk.
// GetKey Loads and decrypts the key from disk.
GetKey(addr common.Address, filename string, auth string) (*Key, error)
// Writes and encrypts the key.
// StoreKey Writes and encrypts the key.
StoreKey(filename string, k *Key, auth string) error
// Joins filename with the key directory unless it is already absolute.
// JoinPath Joins filename with the key directory unless it is already absolute.
JoinPath(filename string) string
}