Browse Source

fix error from branch create

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