chore: fix function name (#2501)
Signed-off-by: zoupingshi <hellocatty@tom.com>
This commit is contained in:
parent
9bb4fed1bf
commit
1047f0e59a
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user