mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: remove prune_modes arg from BlockchainTree::new (#10857)
This commit is contained in:
@ -389,12 +389,8 @@ where
|
||||
// Setup blockchain tree
|
||||
let externals = TreeExternals::new(provider_factory.clone(), consensus, executor_factory);
|
||||
let tree = Arc::new(ShareableBlockchainTree::new(
|
||||
BlockchainTree::new(
|
||||
externals,
|
||||
BlockchainTreeConfig::new(1, 2, 3, 2),
|
||||
PruneModes::default(),
|
||||
)
|
||||
.expect("failed to create tree"),
|
||||
BlockchainTree::new(externals, BlockchainTreeConfig::new(1, 2, 3, 2))
|
||||
.expect("failed to create tree"),
|
||||
));
|
||||
let genesis_block = self.base_config.chain_spec.genesis_header().seal_slow();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user