We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f9da7c commit 5351384Copy full SHA for 5351384
types/src/v0/impls/stake_table.rs
@@ -1688,7 +1688,7 @@ impl EpochCommittees {
1688
.context("Stake table not found")?
1689
.into();
1690
1691
- let success_threshold = self.success_threshold(Some(*epoch));
+ let success_threshold = self.success_threshold(Some(EpochNumber::new(previous_epoch)));
1692
1693
let root_height = header.height().checked_sub(epoch_height).context(
1694
"Epoch height is greater than block height. cannot compute previous epoch root \
0 commit comments