فهرست منبع

Remove some blank lines

gabrielseibel1 2 سال پیش
والد
کامیت
05230de39d
3فایلهای تغییر یافته به همراه0 افزوده شده و 4 حذف شده
  1. 0 1
      logic/extpeers.go
  2. 0 2
      logic/networks.go
  3. 0 1
      logic/nodes.go

+ 0 - 1
logic/extpeers.go

@@ -150,7 +150,6 @@ func GetExtClientByPubKey(publicKey string, network string) (*models.ExtClient,
 
 // CreateExtClient - creates an extclient
 func CreateExtClient(extclient *models.ExtClient) error {
-
 	// lock because we need unique IPs and having it concurrent makes parallel calls result in same "unique" IPs
 	addressLock.Lock()
 	defer addressLock.Unlock()

+ 0 - 2
logic/networks.go

@@ -150,7 +150,6 @@ func GetNetworkSettings(networkname string) (models.Network, error) {
 
 // UniqueAddress - get a unique ipv4 address
 func UniqueAddress(networkName string, reverse bool) (net.IP, error) {
-
 	add := net.IP{}
 	var network models.Network
 	network, err := GetParentNetwork(networkName)
@@ -238,7 +237,6 @@ func IsIPUnique(network string, ip string, tableName string, isIpv6 bool) bool {
 
 // UniqueAddress6 - see if ipv6 address is unique
 func UniqueAddress6(networkName string, reverse bool) (net.IP, error) {
-
 	add := net.IP{}
 	var network models.Network
 	network, err := GetParentNetwork(networkName)

+ 0 - 1
logic/nodes.go

@@ -460,7 +460,6 @@ func updateProNodeACLS(node *models.Node) error {
 
 // createNode - creates a node in database
 func createNode(node *models.Node) error {
-
 	// lock because we need unique IPs and having it concurrent makes parallel calls result in same "unique" IPs
 	addressLock.Lock()
 	defer addressLock.Unlock()