Format Rust code using rustfmt

This commit is contained in:
github-actions[bot] 2023-12-01 22:04:07 +00:00 committed by GitHub
parent ba2a379cb7
commit e245bc972e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -246,8 +246,7 @@ async fn main() {
let (our, decoded_keyfile) = match args.fake_node_name {
None => {
match args.password {
None => {
match args.rpc {
None => match args.rpc {
None => panic!(""),
Some(rpc_url) => {
serve_register_fe(
@ -255,10 +254,10 @@ async fn main() {
our_ip.to_string(),
http_server_port.clone(),
rpc_url.clone(),
).await
}
}
)
.await
}
},
Some(password) => {
match fs::read(format!("{}/.keys", home_directory_path)).await {
Err(e) => panic!("could not read keyfile: {}", e),