diff --git a/client.go b/client.go index dc2f9fbe17..00b0c5e0e7 100644 --- a/client.go +++ b/client.go @@ -1857,7 +1857,6 @@ func (cl *Client) locker() *lockWithDeferreds { } func (cl *Client) String() string { - panic(1) return fmt.Sprintf("<%[1]T %[1]p>", cl) } diff --git a/peer.go b/peer.go index 5cda2250a3..6c8f6b8640 100644 --- a/peer.go +++ b/peer.go @@ -305,7 +305,6 @@ func (cn *Peer) iterContiguousPieceRequests(f func(piece pieceIndex, count int), } func (cn *Peer) writeStatus(w io.Writer, lock bool, lockTorrent bool) { - panic(2) if lockTorrent { cn.t.mu.RLock() defer cn.t.mu.RUnlock()