Skip to content

Commit

Permalink
print hash rate
Browse files Browse the repository at this point in the history
  • Loading branch information
mh0lt committed Jul 18, 2024
1 parent 0186542 commit 643041e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t.go
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ func (t *Torrent) DownloadPieces(begin, end pieceIndex) {
//fmt.Println("DL hashed", hashed.Load())
if sum, _, err := t.hashPiece(piece); err == nil && sum == *piece.hash {
//storage.MarkComplete(false)
//t.updatePieceCompletion(i, true)
t.updatePieceCompletion(i, true)
return nil
}

Expand Down

0 comments on commit 643041e

Please sign in to comment.