Skip to content

Commit

Permalink
Format code
Browse files Browse the repository at this point in the history
  • Loading branch information
gianbelinche committed Dec 19, 2024
1 parent 9df2ddc commit 92d5ae6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion core/node/da_clients/src/eigen/verifier.rs
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,10 @@ impl Verifier {
.map_err(|_| VerificationError::ServiceManagerError)?
.as_u64();

let depth = self.cfg.settlement_layer_confirmation_depth.saturating_sub(1);
let depth = self
.cfg
.settlement_layer_confirmation_depth
.saturating_sub(1);
let block_to_return = latest.saturating_sub(depth as u64);
Ok(block_to_return)
}
Expand Down

0 comments on commit 92d5ae6

Please sign in to comment.