diff --git a/pkg/services/tree/sync.go b/pkg/services/tree/sync.go index 749b7305..88dd37b7 100644 --- a/pkg/services/tree/sync.go +++ b/pkg/services/tree/sync.go @@ -360,7 +360,7 @@ func (s *Service) syncLoop(ctx context.Context) { } // randomizeNodeOrder shuffles nodes and removes not a `pos` index. -// It is assumed that 0 <= pos < len(nodes) +// It is assumed that 0 <= pos < len(nodes). func randomizeNodeOrder(cnrNodes []netmap.NodeInfo, pos int) []netmap.NodeInfo { if len(cnrNodes) == 1 { return nil