We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 918eb6a commit 7419075Copy full SHA for 7419075
crates/verify/src/utils.rs
@@ -229,7 +229,7 @@ fn find_mismatch_in_settings(
229
{
230
let str = format!(
231
"Optimizer runs mismatch: local={}, onchain={}",
232
- local_settings.optimizer_runs.unwrap(),
+ local_settings.optimizer_runs.map_or("unknown".to_string(), |runs| runs.to_string()),
233
etherscan_settings.runs
234
);
235
mismatches.push(str);
0 commit comments