Prechádzať zdrojové kódy

fix extclient caching

Abhishek Kondur 1 rok pred
rodič
commit
689cc7b26e
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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)
 		}