From 13929cc920e1830e1a39d7c1ba33da31cf1f8ffa Mon Sep 17 00:00:00 2001 From: Jian Xiao Date: Tue, 7 May 2024 05:09:32 +0000 Subject: [PATCH] fix --- node/node.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/node/node.go b/node/node.go index bc369fd5c8..253e0b9599 100644 --- a/node/node.go +++ b/node/node.go @@ -296,17 +296,15 @@ func (n *Node) ProcessBatch(ctx context.Context, header *core.BatchHeader, blobs // Measure num batches received and its size in bytes batchSize := uint64(0) - quorumIds := make([]uint8, 0) for _, blob := range blobs { for quorumID, bundle := range blob.Bundles { n.Metrics.AcceptBlobs(quorumID, bundle.Size()) - quorumIds = append(quorumIds, quorumID) } batchSize += blob.Bundles.Size() } n.Metrics.AcceptBatches("received", batchSize) - log.Debug("Start processing a batch", "batchHeaderHash", batchHeaderHash, "batchSize (in bytes)", batchSize, "num of blobs", len(blobs), "quorum IDs involved", fmt.Sprintf("%d", quorumIds), "referenceBlockNumber", header.ReferenceBlockNumber) + log.Debug("Start processing a batch", "batchHeaderHash", batchHeaderHash, "batchSize (in bytes)", batchSize, "num of blobs", len(blobs), "referenceBlockNumber", header.ReferenceBlockNumber) // Store the batch. // Run this in a goroutine so we can parallelize the batch storing and batch