diff --git a/pkg/check/act/act.go b/pkg/check/act/act.go index 903c8210c..6ddfb3ee7 100644 --- a/pkg/check/act/act.go +++ b/pkg/check/act/act.go @@ -75,23 +75,30 @@ func (c *Check) Run(ctx context.Context, cluster orchestration.Cluster, opts int c.logger.Info("=====================================") } - sortedNodes := cluster.NodeNames() - upNodeName := sortedNodes[0] + fullNodes := cluster.FullNodeNames() + lightNodes := cluster.LightNodeNames() + + //sortedNodes := cluster.NodeNames() + //upNodeName := sortedNodes[0] + upNodeName := lightNodes[0] upClient := clients[upNodeName] addr, _ := upClient.Addresses(ctx) publisher, _ := swarm.ParseHexAddress(addr.PublicKey) - nodeName1 := sortedNodes[1] + //nodeName1 := sortedNodes[1] + nodeName1 := fullNodes[1] client1 := clients[nodeName1] addr1, _ := client1.Addresses(ctx) pubk1, _ := swarm.ParseHexAddress(addr1.PublicKey) - nodeName2 := sortedNodes[2] + //nodeName2 := sortedNodes[2] + nodeName2 := fullNodes[2] client2 := clients[nodeName2] addr2, _ := client2.Addresses(ctx) pubk2, _ := swarm.ParseHexAddress(addr2.PublicKey) - nodeName3 := sortedNodes[3] + //odeName3 := sortedNodes[3] + nodeName3 := fullNodes[3] client3 := clients[nodeName3] addr3, _ := client3.Addresses(ctx) pubk3, _ := swarm.ParseHexAddress(addr3.PublicKey)