Skip to content

Commit 21c5e39

Browse files
committed
rc/api.rs:apply cargo +nightly fmt
1 parent fc6e4a1 commit 21c5e39

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/api.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ use rand::Rng;
1010
pub const URL: &[&str] = &[
1111
"https://mempool.space/api",
1212
"https://bitcoin.gob.sv/api",
13-
"https://mempool.sweetsats.io/api",
13+
"https://mempool.sweetsats.io/api",
1414
"http:://localhost", //TODO support local instance
1515
];
1616

@@ -95,7 +95,7 @@ pub fn blocking(api: &String) -> Result<&str, ascii::AsciiChar> {
9595
//print!("api={:?}", api);
9696
}
9797
let call = format!("{}/{}", URL[rand::thread_rng().gen_range(0..2)], api);
98-
//println!("{}", call.clone());
98+
//println!("{}", call.clone());
9999
let mut body = ureq::get(&call)
100100
.call()
101101
.expect("blocking(api: &String) GET {URL[0..2]}/{api} OR GET {URL[0..2]}/v1/{api}")

0 commit comments

Comments
 (0)