mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 19:09:54 +00:00
fix: network example (#5422)
This commit is contained in:
@ -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"
|
||||
|
||||
@ -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]
|
||||
|
||||
Reference in New Issue
Block a user