fix: network example (#5422)

This commit is contained in:
Roman Krasiuk
2023-11-14 06:36:02 -08:00
committed by GitHub
parent f061363e63
commit bf47eb3880
2 changed files with 2 additions and 1 deletions

View File

@ -26,6 +26,7 @@ eyre.workspace = true
futures.workspace = true
async-trait.workspace = true
tokio.workspace = true
[[example]]
name = "db-access"
path = "db-access.rs"

View File

@ -7,7 +7,7 @@
//! ```
use futures::StreamExt;
use reth_network::{config::rng_secret_key, NetworkConfig, NetworkManager};
use reth_network::{config::rng_secret_key, NetworkConfig, NetworkEvents, NetworkManager};
use reth_provider::test_utils::NoopProvider;
#[tokio::main]