We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 793c8f8 commit 56f533dCopy full SHA for 56f533d
core/rawdb/accessors_chain.go
@@ -839,7 +839,7 @@ func ReadHeadHeader(db ethdb.Reader) *types.Header {
839
return ReadHeader(db, headHeaderHash, *headHeaderNumber)
840
}
841
842
-// ReadHeadHeader returns the current canonical head block.
+// ReadHeadBlock returns the current canonical head block.
843
func ReadHeadBlock(db ethdb.Reader) *types.Block {
844
headBlockHash := ReadHeadBlockHash(db)
845
if headBlockHash == (common.Hash{}) {
0 commit comments