mirror of
https://github.com/logos-blockchain/logos-blockchain-specs.git
synced 2026-01-05 14:43:11 +00:00
Typo: committee_idx
This commit is contained in:
parent
55a780d295
commit
f701242c47
@ -67,8 +67,8 @@ class CarnotTree:
|
||||
def root_committee(self) -> Committee:
|
||||
return self.membership_committees[0]
|
||||
|
||||
def committee_by_committee_idx(self, committee_id: int) -> Optional[Committee]:
|
||||
return self.membership_committees.get(committee_id)
|
||||
def committee_by_committee_idx(self, committee_idx: int) -> Optional[Committee]:
|
||||
return self.membership_committees.get(committee_idx)
|
||||
|
||||
def committee_idx_by_member_id(self, member_id: Id) -> Optional[int]:
|
||||
return self.committees_by_member.get(member_id)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user