fix the issue of network is not known to be merged (#6649)

Signed-off-by: jsvisa <delweng@gmail.com>
Co-authored-by: Dan Cline <6798349+Rjected@users.noreply.github.com>
This commit is contained in:
Delweng
2024-02-20 02:32:34 +08:00
committed by GitHub
parent 2356dec1fb
commit 2641251898
3 changed files with 27 additions and 20 deletions

View File

@ -39,7 +39,7 @@ use reth_node_core::{
};
use reth_primitives::{
constants::eip4844::{LoadKzgSettingsError, MAINNET_KZG_TRUSTED_SETUP},
ChainSpec, DisplayHardforks,
ChainSpec,
};
use reth_provider::{providers::BlockchainProvider, ChainSpecProvider, ProviderFactory};
use reth_prune::{PrunerBuilder, PrunerEvent};
@ -367,7 +367,7 @@ where
let genesis_hash = init_genesis(database.clone(), config.chain.clone())?;
info!(target: "reth::cli", "{}", DisplayHardforks::new(config.chain.hardforks()));
info!(target: "reth::cli", "{}", config.chain.display_hardforks());
let consensus = config.consensus();