Explorar el Código

sort extclients

abhishek9686 hace 10 meses
padre
commit
15bfcada65
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      logic/extpeers.go

+ 1 - 0
logic/extpeers.go

@@ -802,6 +802,7 @@ func GetStaticNodesByNetwork(network models.NetworkID, onlyWg bool) (staticNode
 	if err != nil {
 		return
 	}
+	SortExtClient(extClients[:])
 	for _, extI := range extClients {
 		if extI.Network == network.String() {
 			if onlyWg && extI.RemoteAccessClientID != "" {