Skip to content

Commit

Permalink
Epoch safety enabled based only on proposal's view
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszrzasik committed Feb 18, 2025
1 parent 5686bfb commit adf9e76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hotshot-task-impls/src/helpers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,7 @@ pub async fn validate_proposal_safety_and_liveness<
let justify_qc_epoch = option_epoch_from_block_number::<TYPES>(
validation_info
.upgrade_lock
.epochs_enabled(justify_qc.view_number())
.epochs_enabled(proposed_leaf.view_number())
.await,
parent_leaf.height(),
validation_info.epoch_height,
Expand Down

0 comments on commit adf9e76

Please sign in to comment.