2
0
Эх сурвалжийг харах

fix error from branch create

Matthew R. Kasun 2 жил өмнө
parent
commit
482246477c
1 өөрчлөгдсөн 3 нэмэгдсэн , 0 устгасан
  1. 3 0
      logic/peers.go

+ 3 - 0
logic/peers.go

@@ -111,6 +111,9 @@ func GetPeerUpdate(node *models.Node) (models.PeerUpdate, error) {
 				if peer.LocalListenPort != 0 {
 					peer.ListenPort = peer.LocalListenPort
 				}
+			} else {
+				continue
+			}
 		}
 
 		// set address if setEndpoint is true