Sfoglia il codice sorgente

fix error from branch create

Matthew R. Kasun 3 anni fa
parent
commit
407c6ed20a
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      logic/peers.go

+ 2 - 0
logic/peers.go

@@ -111,6 +111,8 @@ func GetPeerUpdate(node *models.Node) (models.PeerUpdate, error) {
 				if peer.LocalListenPort != 0 {
 					peer.ListenPort = peer.LocalListenPort
 				}
+			} else {
+				continue
 			}
 		}