diff --git a/crates/net/network/src/config.rs b/crates/net/network/src/config.rs index 776e172614..73a1fd9998 100644 --- a/crates/net/network/src/config.rs +++ b/crates/net/network/src/config.rs @@ -8,7 +8,7 @@ use crate::{ NetworkHandle, NetworkManager, }; use reth_discv4::{Discv4Config, Discv4ConfigBuilder, DEFAULT_DISCOVERY_PORT}; -use reth_primitives::{ChainSpec, ForkFilter, Head, NodeRecord, PeerId, MAINNET, U256}; +use reth_primitives::{ChainSpec, ForkFilter, Head, NodeRecord, PeerId, MAINNET}; use reth_provider::{BlockProvider, HeaderProvider}; use reth_tasks::TaskExecutor; use secp256k1::{SecretKey, SECP256K1}; @@ -309,7 +309,7 @@ impl NetworkConfigBuilder { number: 0, timestamp: 0, difficulty: chain_spec.genesis.difficulty, - total_difficulty: U256::ZERO, + total_difficulty: chain_spec.genesis.difficulty, }); // set the status