Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion types/src/v0/impls/stake_table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1688,7 +1688,7 @@ impl EpochCommittees {
.context("Stake table not found")?
.into();

let success_threshold = self.success_threshold(Some(*epoch));
let success_threshold = self.success_threshold(Some(EpochNumber::new(previous_epoch)));

let root_height = header.height().checked_sub(epoch_height).context(
"Epoch height is greater than block height. cannot compute previous epoch root \
Expand Down