chore: correct the docs (#14070)

This commit is contained in:
DevOrbitlabs
2025-01-29 21:29:04 +07:00
committed by GitHub
parent 6d5514964b
commit 00593d2079
3 changed files with 3 additions and 3 deletions

View File

@ -80,7 +80,7 @@ impl EthereumNode {
/// .unwrap();
/// ```
///
/// # Open a Providerfactory manually with with all required componets
/// # Open a Providerfactory manually with with all required components
///
/// ```no_run
/// use reth_chainspec::ChainSpecBuilder;

View File

@ -617,7 +617,7 @@ async fn test_exceed_outgoing_connections() {
handle.add_peer(*handle1.peer_id(), handle1.local_addr());
// wait 2 seconds, the number of connections is still 1, indicating tha max outbound is in
// wait 2 seconds, the number of connections is still 1, indicating that the max outbound is in
// effect.
tokio::time::sleep(Duration::from_secs(2)).await;
assert_eq!(handle.num_connected_peers(), 1);

View File

@ -55,7 +55,7 @@ impl<N> ProviderFactoryBuilder<N> {
/// }
/// ```
///
/// # Open an unmonitored instace
/// # Open an unmonitored instance
///
/// This is recommended when no changes to the static files are expected (e.g. no active node)
///