Skip to content

Commit

Permalink
Updated godoc
Browse files Browse the repository at this point in the history
  • Loading branch information
durkmurder committed Oct 4, 2023
1 parent 092927a commit a5ca17d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions consensus/hotstuff/committees/cluster_committee.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ func NewClusterCommittee(
initialClusterMembers := cluster.Members()
totalWeight := initialClusterMembers.TotalWeight()
initialClusterMembersSelector := initialClusterMembers.Selector()
// the next section is not very nice, but there are no dynamic identities for root block,
// and we need them to specificially handle querying of identities for root block
initialClusterIdentities := make(flow.IdentityList, 0, len(cluster.Members()))
for _, skeleton := range initialClusterMembers {
initialClusterIdentities = append(initialClusterIdentities, &flow.Identity{
Expand Down

0 comments on commit a5ca17d

Please sign in to comment.