From 495891d9e82a2ba2ffe4716a7ebd96c5ec7c35b3 Mon Sep 17 00:00:00 2001 From: Arceliar Date: Thu, 7 Jun 2018 22:32:01 -0500 Subject: [PATCH] remove testing panics --- src/yggdrasil/peer.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/yggdrasil/peer.go b/src/yggdrasil/peer.go index 497024ca..51175ef3 100644 --- a/src/yggdrasil/peer.go +++ b/src/yggdrasil/peer.go @@ -281,7 +281,6 @@ func (p *peer) handleSwitchMsg(packet []byte) { } //p.core.log.Println("Decoded msg:", msg, "; bytes:", packet) if len(msg.Hops) < 1 { - panic("FIXME testing") p.core.peers.removePeer(p.port) } var loc switchLocator @@ -293,7 +292,6 @@ func (p *peer) handleSwitchMsg(packet []byte) { loc.coords = append(loc.coords, hop.Port) bs := getBytesForSig(&hop.Next, &sigMsg) if !p.core.sigs.check(&prevKey, &hop.Sig, bs) { - panic("FIXME testing") p.core.peers.removePeer(p.port) } prevKey = hop.Next