mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 07:06:42 +00:00
modified comment
This commit is contained in:
parent
fea935fff2
commit
1970743f9d
1 changed files with 1 additions and 1 deletions
|
|
@ -816,7 +816,7 @@ func (s *PublicBlockChainAPI) GetHeaderByHash(ctx context.Context, hash common.H
|
|||
|
||||
// getAuthor: returns the author of the Block
|
||||
func (s *PublicBlockChainAPI) getAuthor(head *types.Header) (*common.Address, error) {
|
||||
// get author using From: Backend -> Engine -> Author
|
||||
// get author using Author() function from: /consensus/clique/clique.go
|
||||
author, err := s.b.Engine().Author(head)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
|
|
|||
Loading…
Reference in a new issue