Skip to content

Commit

Permalink
remove printer
Browse files Browse the repository at this point in the history
  • Loading branch information
mh0lt committed Jul 10, 2024
1 parent 6b88478 commit 1b56deb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion torrent.go
Original file line number Diff line number Diff line change
Expand Up @@ -2771,7 +2771,6 @@ func (t *Torrent) pieceHashed(piece pieceIndex, passed bool, hashIoErr error) {
// single peer for a piece, and we never progress that piece to completion, we
// will never smart-ban them. Discovered in
// https://github.com/anacrolix/torrent/issues/715.
fmt.Printf("banning %v for being sole dirtier of piece %v after failed piece check\n", c, piece)
t.logger.Levelf(log.Warning, "banning %v for being sole dirtier of piece %v after failed piece check", c, piece)
c.ban()
}
Expand Down

0 comments on commit 1b56deb

Please sign in to comment.