From 1970743f9d6328335f1073b71d72fac1c6c1cc23 Mon Sep 17 00:00:00 2001 From: Pratik Patil Date: Fri, 24 Jun 2022 13:28:22 +0530 Subject: [PATCH] modified comment --- internal/ethapi/api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/ethapi/api.go b/internal/ethapi/api.go index 87aa6d72e7..095ba7322b 100644 --- a/internal/ethapi/api.go +++ b/internal/ethapi/api.go @@ -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