From fd2b09ea40911cc75b065978ccbc3b5232d85d98 Mon Sep 17 00:00:00 2001 From: Akash SM Date: Thu, 30 Nov 2023 18:59:47 +0530 Subject: [PATCH] fixed a minor bug --- .../p2p/incoming_requests/handler.ex | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/lambda_ethereum_consensus/p2p/incoming_requests/handler.ex b/lib/lambda_ethereum_consensus/p2p/incoming_requests/handler.ex index ad7a580c2..aedf619d4 100644 --- a/lib/lambda_ethereum_consensus/p2p/incoming_requests/handler.ex +++ b/lib/lambda_ethereum_consensus/p2p/incoming_requests/handler.ex @@ -141,8 +141,12 @@ defmodule LambdaEthereumConsensus.P2P.IncomingRequests.Handler do count = min(count, ChainSpec.get("MAX_REQUEST_BLOCKS")) + "[Received BlocksByRoot Request] requested #{count} number of blocks" + |> Logger.info() + blocks = body + |> Enum.slice(0..(count - 1)) |> Enum.map(&BlockStore.get_block/1) response_chunk =