From 165a1c2cad4a1d7b24b286839bfbb27ecff73dee Mon Sep 17 00:00:00 2001 From: armaganyildirak Date: Tue, 1 Aug 2023 11:48:38 -0400 Subject: [PATCH] change after review --- beacon_node/lighthouse_network/src/rpc/handler.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/beacon_node/lighthouse_network/src/rpc/handler.rs b/beacon_node/lighthouse_network/src/rpc/handler.rs index 08d09f53059..7709270732e 100644 --- a/beacon_node/lighthouse_network/src/rpc/handler.rs +++ b/beacon_node/lighthouse_network/src/rpc/handler.rs @@ -967,10 +967,7 @@ where OutboundRequestContainer { req: req.clone(), fork_context: self.fork_context.clone(), - max_rpc_size: max_rpc_size( - &self.fork_context, - self.listen_protocol.upgrade().max_rpc_size, - ), + max_rpc_size: self.listen_protocol().upgrade().max_rpc_size, }, (), )