From ce2a0867f62f1ea7ee226508827138f413a5d0cb Mon Sep 17 00:00:00 2001 From: kindknow Date: Tue, 18 Feb 2025 22:33:51 +0800 Subject: [PATCH] chore: fix some function names in comment Signed-off-by: kindknow --- beacon/light/request/scheduler.go | 2 +- consensus/misc/eip1559/eip1559_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/beacon/light/request/scheduler.go b/beacon/light/request/scheduler.go index e80daf805e..242ed56d28 100644 --- a/beacon/light/request/scheduler.go +++ b/beacon/light/request/scheduler.go @@ -269,7 +269,7 @@ func (s *Scheduler) addEvent(event Event) { s.Trigger() } -// filterEvent sorts each Event either as a request event or a server event, +// filterEvents sorts each Event either as a request event or a server event, // depending on its type. Request events are also sorted in a map based on the // module that originally initiated the request. It also ensures that no events // related to a server are returned before EvRegistered or after EvUnregistered. diff --git a/consensus/misc/eip1559/eip1559_test.go b/consensus/misc/eip1559/eip1559_test.go index 47f3e80edf..b4e1444e33 100644 --- a/consensus/misc/eip1559/eip1559_test.go +++ b/consensus/misc/eip1559/eip1559_test.go @@ -137,7 +137,7 @@ func TestCalcBaseFee(t *testing.T) { } } -// TestCalcBaseFee assumes all blocks are 1559-blocks post Delhi Hard Fork +// TestCalcBaseFeeDelhi assumes all blocks are 1559-blocks post Delhi Hard Fork func TestCalcBaseFeeDelhi(t *testing.T) { t.Parallel()