Skip to content

Commit

Permalink
Cargo fmt pass
Browse files Browse the repository at this point in the history
  • Loading branch information
sydhds committed Sep 19, 2024
1 parent 7bec185 commit 16f05b8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion massa-bootstrap/src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,11 @@ pub fn get_state(
let limit = bootstrap_config.rate_limit;
loop {
// check for interruption
if *interrupted.0.lock().expect("double-lock on interrupt-mutex") {
if *interrupted
.0
.lock()
.expect("double-lock on interrupt-mutex")
{
return Err(BootstrapError::Interrupted(
"Sig INT received while getting state".to_string(),
));
Expand Down

0 comments on commit 16f05b8

Please sign in to comment.