Skip to content

Commit

Permalink
remove clousure
Browse files Browse the repository at this point in the history
  • Loading branch information
dapplion committed Jan 30, 2025
1 parent e11b891 commit 30ec5ea
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions beacon_node/network/src/sync/backfill_sync/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -425,9 +425,8 @@ impl<T: BeaconChainTypes> BackFillSync<T> {
Err(result) => {
let (expected_boundary, received_boundary, outcome) = match result {
Err(e) => {
return self
.fail_sync(BackFillError::BatchInvalidState(batch_id, e.0))
.map(|_| ProcessResult::Successful);
self.fail_sync(BackFillError::BatchInvalidState(batch_id, e.0))?;
return Ok(ProcessResult::Successful);
}
Ok(v) => v,
};
Expand Down

0 comments on commit 30ec5ea

Please sign in to comment.