From 1047f0e59ad4ab48032e2ba70efb11f7b0c58817 Mon Sep 17 00:00:00 2001 From: zoupingshi Date: Wed, 5 Jun 2024 15:12:48 +0800 Subject: [PATCH] chore: fix function name (#2501) Signed-off-by: zoupingshi --- eth/fetcher/block_fetcher_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eth/fetcher/block_fetcher_test.go b/eth/fetcher/block_fetcher_test.go index ea810c727d..fa39b1bbbd 100644 --- a/eth/fetcher/block_fetcher_test.go +++ b/eth/fetcher/block_fetcher_test.go @@ -158,7 +158,7 @@ func (f *fetcherTester) chainFinalizedHeight() uint64 { return f.blocks[f.hashes[len(f.hashes)-3]].NumberU64() } -// insertChain injects a new headers into the simulated chain. +// insertHeaders injects a new headers into the simulated chain. func (f *fetcherTester) insertHeaders(headers []*types.Header) (int, error) { f.lock.Lock() defer f.lock.Unlock()