Skip to content

Commit

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

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

// 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 a961c1b

Please sign in to comment.