Browse Source

fix error from branch create

Matthew R. Kasun 2 years ago
parent
commit
482246477c
1 changed files with 3 additions and 0 deletions
  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