Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
maciejka committed Oct 23, 2024
1 parent a961c1b commit 2170c4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/consensus/src/types/chain_state.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ pub impl BlockValidatorImpl of BlockValidator {

let prev_block_time = *self.prev_timestamps[self.prev_timestamps.len() - 1];

// MTP of the _previous_ block
// MTP of the _previous_ block
let median_time_past = compute_median_time_past(self.prev_timestamps);
let prev_timestamps = next_prev_timestamps(self.prev_timestamps, block.header.time);

Expand Down

0 comments on commit 2170c4e

Please sign in to comment.