Skip to content

Commit 8ad1e7a

Browse files
author
Stefan Effenberger
committed
fmt
1 parent 138862b commit 8ad1e7a

2 files changed

Lines changed: 7 additions & 4 deletions

File tree

lib/dvf/config.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -635,9 +635,7 @@ impl DVFConfig {
635635
let mut etherscan_chain_configs = BTreeMap::new();
636636

637637
println!();
638-
println!(
639-
"Would you like to set chain-specific Etherscan configurations? (y/n)"
640-
);
638+
println!("Would you like to set chain-specific Etherscan configurations? (y/n)");
641639
print!("> ");
642640
let _ = std::io::Write::flush(&mut std::io::stdout());
643641
let mut input = String::new();

src/cached_proxy.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,12 @@ async fn generic_path_function<T: AsRef<str> + std::fmt::Display>(
150150
}
151151
}
152152

153-
let fname = get_fname_with_path(&data, req.query_string().as_bytes(), path_str.as_bytes(), &cachedir);
153+
let fname = get_fname_with_path(
154+
&data,
155+
req.query_string().as_bytes(),
156+
path_str.as_bytes(),
157+
&cachedir,
158+
);
154159
if Path::new(&fname).exists() {
155160
if verbose > 0 {
156161
println!("Served {:?} from cache: {}", data, fname);

0 commit comments

Comments
 (0)