From ba3e798b5f050de4b60e0ca163c7c4f567ee7287 Mon Sep 17 00:00:00 2001 From: Matt Joiner Date: Fri, 24 Feb 2017 21:56:23 +1100 Subject: [PATCH] Fix a logging of metainfo.Hash --- torrent.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/torrent.go b/torrent.go index 81244acd..397c13ac 100644 --- a/torrent.go +++ b/torrent.go @@ -1357,7 +1357,7 @@ func (t *Torrent) pieceHashed(piece int, correct bool) { if correct { pieceHashedCorrect.Add(1) } else { - log.Printf("%s: piece %d (%x) failed hash: %d connections contributed", t, piece, p.Hash, len(touchers)) + log.Printf("%s: piece %d (%s) failed hash: %d connections contributed", t, piece, p.Hash, len(touchers)) pieceHashedNotCorrect.Add(1) } } -- 2.48.1