未验证 提交 56f533d0 编写于 作者: A aaronbuchwald 提交者: GitHub

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

上级 793c8f88
......@@ -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{}) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册