Преглед на файлове

validate after unset gws

abhishek9686 преди 1 година
родител
ревизия
c02528e63f
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      logic/peers.go

+ 1 - 1
logic/peers.go

@@ -181,7 +181,7 @@ func GetPeerUpdateForHost(network string, host *models.Host, allNodes []models.N
 					peerIndexMap[peerHost.PublicKey.String()] = len(hostPeerUpdate.Peers) - 1
 					continue
 				}
-				if peer.InternetGwID != "" {
+				if peer.InternetGwID != "" && peer.InternetGwID != node.ID.String() {
 					continue
 				}
 			}