modified comment

This commit is contained in:
Pratik Patil 2022-06-24 13:28:22 +05:30
parent fea935fff2
commit 1970743f9d

View file

@ -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