diff --git a/accounts/keystore/key.go b/accounts/keystore/key.go index 9b2ac14712..ee38f0a06e 100644 --- a/accounts/keystore/key.go +++ b/accounts/keystore/key.go @@ -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 }