From 3b4bc7753294c7a39ce094b70bf996737ee4f4ff Mon Sep 17 00:00:00 2001 From: iPLAY888 <133153661+letmehateu@users.noreply.github.com> Date: Tue, 30 Dec 2025 14:23:12 +0300 Subject: [PATCH] docs(network): update FetchClient struct to use NetworkPrimitives generic (#20680) --- docs/crates/network.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/docs/crates/network.md b/docs/crates/network.md index 5eb9bd9800..e2ffc55df2 100644 --- a/docs/crates/network.md +++ b/docs/crates/network.md @@ -284,11 +284,10 @@ The `FetchClient` struct, similar to `NetworkHandle`, can be shared across threa [File: crates/net/network/src/fetch/client.rs](https://github.com/paradigmxyz/reth/blob/1563506aea09049a85e5cc72c2894f3f7a371581/crates/net/network/src/fetch/client.rs) ```rust,ignore -pub struct FetchClient { - /// Sender half of the request channel. - pub(crate) request_tx: UnboundedSender, - /// The handle to the peers - pub(crate) peers_handle: PeersHandle, +pub struct FetchClient { + request_tx: UnboundedSender>, + peers_handle: PeersHandle, + num_active_peers: Arc } ```