Skip to content

Commit 56f533d

Browse files
docs: fix docstring on read head block (#22776)
1 parent 793c8f8 commit 56f533d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/rawdb/accessors_chain.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -839,7 +839,7 @@ func ReadHeadHeader(db ethdb.Reader) *types.Header {
839839
return ReadHeader(db, headHeaderHash, *headHeaderNumber)
840840
}
841841

842-
// ReadHeadHeader returns the current canonical head block.
842+
// ReadHeadBlock returns the current canonical head block.
843843
func ReadHeadBlock(db ethdb.Reader) *types.Block {
844844
headBlockHash := ReadHeadBlockHash(db)
845845
if headBlockHash == (common.Hash{}) {

0 commit comments

Comments
 (0)