Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

Commit

Permalink
service: correctly generate binary tree
Browse files Browse the repository at this point in the history
  • Loading branch information
tharvik committed Mar 4, 2020
1 parent 68450ee commit 40322bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ func (s *ServiceDrynx) StartProtocol(name string, targetSurvey string) (onet.Pro
}
tree = generateDataCollectionRoster(s.ServerIdentity(), CNsToDPs).GenerateStar()
} else {
tree = tmp.SurveyQuery.RosterServers.GenerateNaryTreeWithRoot(2, s.ServerIdentity())
tree = tmp.SurveyQuery.RosterServers.GenerateBinaryTree()
}
if tree == nil {
return nil, errors.New("unable to generate tree")
Expand Down

0 comments on commit 40322bd

Please sign in to comment.