From 0d20e247b5a9addfa5bd55a1823d12b22edca679 Mon Sep 17 00:00:00 2001 From: dufucun Date: Thu, 20 Jun 2024 14:07:27 +0900 Subject: [PATCH] chore: fix some function names (#1257) Signed-off-by: dufucun Co-authored-by: dufucun --- accounts/keystore/account_cache_test.go | 2 +- accounts/keystore/keystore_test.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/accounts/keystore/account_cache_test.go b/accounts/keystore/account_cache_test.go index 7481fe9424..f9d45913cb 100644 --- a/accounts/keystore/account_cache_test.go +++ b/accounts/keystore/account_cache_test.go @@ -51,7 +51,7 @@ var ( } ) -// waitWatcherStarts waits up to 1s for the keystore watcher to start. +// waitWatcherStart waits up to 1s for the keystore watcher to start. func waitWatcherStart(ks *KeyStore) bool { // On systems where file watch is not supported, just return "ok". if !ks.cache.watcher.enabled() { diff --git a/accounts/keystore/keystore_test.go b/accounts/keystore/keystore_test.go index 5ac4c8dba1..ad20b9391c 100644 --- a/accounts/keystore/keystore_test.go +++ b/accounts/keystore/keystore_test.go @@ -372,7 +372,7 @@ func TestWalletNotifications(t *testing.T) { checkEvents(t, wantEvents, events) } -// TestImportExport tests the import functionality of a keystore. +// TestImportECDSA tests the import functionality of a keystore. func TestImportECDSA(t *testing.T) { t.Parallel() _, ks := tmpKeyStore(t, true) @@ -395,7 +395,7 @@ func TestImportECDSA(t *testing.T) { } } -// TestImportECDSA tests the import and export functionality of a keystore. +// TestImportExport tests the import and export functionality of a keystore. func TestImportExport(t *testing.T) { t.Parallel() _, ks := tmpKeyStore(t, true)