From fdf913aed9899de28006c23313970ee87db1e842 Mon Sep 17 00:00:00 2001 From: Mark Ridgwell Date: Fri, 28 Oct 2022 17:17:56 +0100 Subject: [PATCH] corrected method name in comment (#11594) --- beacon-chain/blockchain/execution_engine.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beacon-chain/blockchain/execution_engine.go b/beacon-chain/blockchain/execution_engine.go index f311c16608..41c99b744d 100644 --- a/beacon-chain/blockchain/execution_engine.go +++ b/beacon-chain/blockchain/execution_engine.go @@ -180,7 +180,7 @@ func (s *Service) getPayloadHash(ctx context.Context, root []byte) ([32]byte, er return bytesutil.ToBytes32(payload.BlockHash()), nil } -// notifyForkchoiceUpdate signals execution engine on a new payload. +// notifyNewPayload signals execution engine on a new payload. // It returns true if the EL has returned VALID for the block func (s *Service) notifyNewPayload(ctx context.Context, postStateVersion int, postStateHeader interfaces.ExecutionData, blk interfaces.SignedBeaconBlock) (bool, error) {