Cleanup
This commit is contained in:
		| @@ -25,7 +25,7 @@ func sendLocalDiscovery(conn *net.UDPConn) { | ||||
| 		buf2 = make([]byte, bufferSize) | ||||
| 	) | ||||
|  | ||||
| 	for range time.Tick(32 * time.Second) { | ||||
| 	for range time.Tick(16 * time.Second) { | ||||
| 		signed := buildLocalDiscoveryPacket(buf1, buf2) | ||||
| 		if _, err := conn.WriteToUDP(signed, multicastAddr); err != nil { | ||||
| 			log.Printf("Failed to write multicast UDP packet: %v", err) | ||||
|   | ||||
| @@ -347,8 +347,6 @@ func (s *stateClient) OnAck(msg controlMsg[ackPacket]) { | ||||
| 		s.staged.Up = true | ||||
| 		s.logf("Got ack.") | ||||
| 		s.publish() | ||||
| 	} else { | ||||
| 		// TODO: What???? | ||||
| 	} | ||||
|  | ||||
| 	// Store possible public address if we're not a public node. | ||||
|   | ||||
		Reference in New Issue
	
	Block a user