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 bc43014 commit efaa0ddCopy full SHA for efaa0dd
timeboost-types/src/block.rs
@@ -241,7 +241,9 @@ impl CertifiedBlock<Unchecked> {
241
pub fn validated(self, c: &Committee) -> Option<CertifiedBlock<Validated>> {
242
if self.data.round == self.cert.data().round.num()
243
&& self.data.hash() == self.cert.data().hash
244
- && self.cert.is_valid_par(c)
+ && self
245
+ .cert
246
+ .is_valid_with_threshold_par(c, c.one_honest_threshold())
247
{
248
Some(CertifiedBlock {
249
data: self.data,
0 commit comments