cmd/torrent-verify: Fix piece hash output

This commit is contained in:
Matt Joiner 2020-06-01 11:16:17 +10:00
parent 235c67a6ec
commit cf6d161256
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ func verifyTorrent(info *metainfo.Info, root string) error {
if !good {
return fmt.Errorf("hash mismatch at piece %d", i)
}
fmt.Printf("%d: %x: %v\n", i, p.Hash(), good)
fmt.Printf("%d: %v: %v\n", i, p.Hash(), good)
}
return nil
}