From 53d2526dcfdca2b73261ceacd8578ff61018200c Mon Sep 17 00:00:00 2001 From: danielsanchezq Date: Fri, 30 Jun 2023 11:18:07 +0200 Subject: [PATCH] Fmt --- carnot/tree_overlay.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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