From 982de944283db2402b71ed3e9d8a4e621a5d769e Mon Sep 17 00:00:00 2001 From: Giulio rebuffo Date: Mon, 18 Apr 2022 14:15:28 +0200 Subject: [PATCH] misleading comment in receive_block.go (#10538) Co-authored-by: Preston Van Loon --- beacon-chain/blockchain/receive_block.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beacon-chain/blockchain/receive_block.go b/beacon-chain/blockchain/receive_block.go index ae09efac2..4dedda356 100644 --- a/beacon-chain/blockchain/receive_block.go +++ b/beacon-chain/blockchain/receive_block.go @@ -78,7 +78,7 @@ func (s *Service) ReceiveBlockBatch(ctx context.Context, blocks []block.SignedBe ctx, span := trace.StartSpan(ctx, "blockChain.ReceiveBlockBatch") defer span.End() - // Apply state transition on the incoming newly received blockCopy without verifying its BLS contents. + // Apply state transition on the incoming newly received block batches, one by one. fCheckpoints, jCheckpoints, err := s.onBlockBatch(ctx, blocks, blkRoots) if err != nil { err := errors.Wrap(err, "could not process block in batch")