Skip to content

Commit

Permalink
Naming
Browse files Browse the repository at this point in the history
  • Loading branch information
squadgazzz committed Dec 20, 2024
1 parent 4b2de81 commit 8134837
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion crates/driver/src/infra/config/file/load.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ pub async fn load(chain: chain::Id, path: &Path) -> infra::Config {
enable_simulation_based_bad_token_detection: config
.enable_simulation_bad_token_detection,
enable_metrics_based_bad_token_detection: config
.enable_heuristic_based_bad_token_detection,
.enable_metrics_based_bad_token_detection,
},
}
}))
Expand Down
4 changes: 2 additions & 2 deletions crates/driver/src/infra/config/file/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -279,9 +279,9 @@ struct SolverConfig {
enable_simulation_bad_token_detection: bool,

/// Whether or not the solver opted into detecting unsupported
/// tokens with heuristic based detection.
/// tokens with metrics-based detection.
#[serde(default)]
enable_heuristic_based_bad_token_detection: bool,
enable_metrics_based_bad_token_detection: bool,
}

#[derive(Clone, Copy, Debug, Default, Deserialize, PartialEq, Serialize)]
Expand Down

0 comments on commit 8134837

Please sign in to comment.