corrected method name in comment (#11594)

This commit is contained in:
Mark Ridgwell
2022-10-28 17:17:56 +01:00
committed by GitHub
parent 9435d10652
commit fdf913aed9

View File

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