From 4827a1d3d80227f68141f0722c73912aa55b806b Mon Sep 17 00:00:00 2001 From: cuiweixie Date: Sun, 25 Feb 2024 22:21:09 +0800 Subject: [PATCH] accounts: use standard comment style --- accounts/keystore/key.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 }