Explorar o código

fix caching issue

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

+ 1 - 1
logic/extpeers.go

@@ -114,7 +114,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)
 		}