Skip to content

Commit

Permalink
fix: set l1 batch number not l2 batch number
Browse files Browse the repository at this point in the history
  • Loading branch information
zeapoz committed Jul 29, 2024
1 parent 29a6e0a commit a66a8c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/processor/snapshot/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ impl Processor for SnapshotBuilder {
.set_latest_l2_block_number(block.l2_block_number);

if let Some(number) = block.l1_block_number {
let _ = self.database.set_latest_l2_batch_number(number);
let _ = self.database.set_latest_l1_batch_number(number);
};
}
}
Expand Down

0 comments on commit a66a8c4

Please sign in to comment.