Update overlay.rs
This commit is contained in:
parent
67367be149
commit
50cb9930ae
|
@ -146,14 +146,10 @@ where
|
|||
if self.is_member_of_leaf_committee(id) {
|
||||
return 0;
|
||||
}
|
||||
match self
|
||||
.carnot_tree
|
||||
self.carnot_tree
|
||||
.committee_by_member_id(&id)
|
||||
.map(|c| apply_threshold(c.len(), self.threshold))
|
||||
{
|
||||
Some(threshold) => threshold,
|
||||
None => panic!("node {id} is not part of any committee"),
|
||||
}
|
||||
.expect("node is not part of any committee")
|
||||
}
|
||||
|
||||
// TODO: Carnot node in sim does not send votes to the next leader from the child committee of
|
||||
|
|
Loading…
Reference in New Issue