Explorar o código

fix extclient caching

Abhishek Kondur hai 1 ano
pai
achega
689cc7b26e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      logic/extpeers.go

+ 1 - 1
logic/extpeers.go

@@ -107,7 +107,7 @@ func GetNetworkExtClients(network string) ([]models.ExtClient, error) {
 		if err != nil {
 			continue
 		}
-		key, err := GetRecordKey(extclient.ClientID, network)
+		key, err := GetRecordKey(extclient.ClientID, extclient.Network)
 		if err == nil {
 			storeExtClientInCache(key, extclient)
 		}