good morning!!!!

Skip to content
Snippets Groups Projects
Unverified Commit 56f533d0 authored by aaronbuchwald's avatar aaronbuchwald Committed by GitHub
Browse files

docs: fix docstring on read head block (#22776)

parent 793c8f88
No related branches found
No related tags found
No related merge requests found
......@@ -839,7 +839,7 @@ func ReadHeadHeader(db ethdb.Reader) *types.Header {
return ReadHeader(db, headHeaderHash, *headHeaderNumber)
}
// ReadHeadHeader returns the current canonical head block.
// ReadHeadBlock returns the current canonical head block.
func ReadHeadBlock(db ethdb.Reader) *types.Block {
headBlockHash := ReadHeadBlockHash(db)
if headBlockHash == (common.Hash{}) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment