mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: fix wrong function name (#9164)
This commit is contained in:
@ -53,7 +53,7 @@ impl Config {
|
||||
}
|
||||
|
||||
/// Sets the pruning configuration.
|
||||
pub fn update_prune_confing(&mut self, prune_config: PruneConfig) {
|
||||
pub fn update_prune_config(&mut self, prune_config: PruneConfig) {
|
||||
self.prune = Some(prune_config);
|
||||
}
|
||||
}
|
||||
|
||||
@ -107,7 +107,7 @@ impl LaunchContext {
|
||||
) -> eyre::Result<()> {
|
||||
if reth_config.prune.is_none() {
|
||||
if let Some(prune_config) = config.prune_config() {
|
||||
reth_config.update_prune_confing(prune_config);
|
||||
reth_config.update_prune_config(prune_config);
|
||||
info!(target: "reth::cli", "Saving prune config to toml file");
|
||||
reth_config.save(config_path.as_ref())?;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user