From 018654294ba3d8140b37f91ddf5f93c84bb15553 Mon Sep 17 00:00:00 2001 From: Mark Holt Date: Thu, 18 Jul 2024 17:02:45 +0100 Subject: [PATCH] print hash rate --- t.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t.go b/t.go index 1b698262fc..8bcff0aad3 100644 --- a/t.go +++ b/t.go @@ -270,8 +270,8 @@ func (t *Torrent) DownloadPieces(begin, end pieceIndex) { hashed.Add(int64(piece.length(true))) //fmt.Println("DL hashed", hashed.Load()) if sum, _, err := t.hashPiece(piece); err == nil && sum == *piece.hash { - storage.MarkComplete(false) - t.updatePieceCompletion(i, true) + //storage.MarkComplete(false) + //t.updatePieceCompletion(i, true) return nil }