diff --git a/pkg/services/tree/cache.go b/pkg/services/tree/cache.go index ef0c4b46..f50aa0b0 100644 --- a/pkg/services/tree/cache.go +++ b/pkg/services/tree/cache.go @@ -99,7 +99,7 @@ func dialTreeService(ctx context.Context, netmapAddr string) (*grpc.ClientConn, ), } - if netAddr.IsTLSEnabled() { + if !netAddr.IsTLSEnabled() { opts = append(opts, grpc.WithTransportCredentials(insecure.NewCredentials())) }