Skip to content

Commit

Permalink
chore: fix wrong function name (#9164)
Browse files Browse the repository at this point in the history
  • Loading branch information
HuberyJulianay authored Jun 28, 2024
1 parent c12ca99 commit e81c079
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/config/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down
2 changes: 1 addition & 1 deletion crates/node/builder/src/launch/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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())?;
}
Expand Down

0 comments on commit e81c079

Please sign in to comment.