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, }, (), )