Skip to content

Commit

Permalink
Cleanup generic
Browse files Browse the repository at this point in the history
  • Loading branch information
jfldde committed Jul 25, 2024
1 parent bbac371 commit 24022c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/sequencer/src/commitment_controller.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ pub struct CommitmentInfo {
/// Returns none if the commitable L2 block range is shorter than `min_soft_confirmations_per_commitment`
/// Returns `CommitmentInfo` if the sequencer should commit
#[instrument(level = "debug", skip_all, fields(prev_l1_height), err)]
pub fn get_commitment_info(
ledger_db: &impl SequencerLedgerOps,
pub fn get_commitment_info<T: SequencerLedgerOps>(
ledger_db: &T,
min_soft_confirmations_per_commitment: u64,
state_diff_threshold_reached: bool,
) -> anyhow::Result<Option<CommitmentInfo>> {
Expand Down

0 comments on commit 24022c6

Please sign in to comment.