diff --git a/carnot/tree_overlay.py b/carnot/tree_overlay.py index 4dd6745..5a7f35c 100644 --- a/carnot/tree_overlay.py +++ b/carnot/tree_overlay.py @@ -32,7 +32,7 @@ class CarnotTree: def __init__(self, nodes: List[Id], number_of_committees: int): # useless to build an overlay with no committees assert number_of_committees > 0 - # inner_commitees: list of tree nodes (int index) matching hashed external committee id + # inner_committees: list of tree nodes (int index) matching hashed external committee id self.inner_committees: List[Id] # membership committees: matching external (hashed) id to the set of members of a committee self.membership_committees: Dict[Id, Committee] @@ -110,7 +110,6 @@ class CarnotTree: return self.committee_by_committee_idx(committee_idx) - class CarnotOverlay(EntropyOverlay): def __init__(self, nodes: List[Id], current_leader: Id, entropy: bytes, number_of_committees: int): self.entropy = entropy