From cfc67398e2870ec5bd76caff5ef200c3b5a54269 Mon Sep 17 00:00:00 2001 From: YouROK <8yourok8@mail.ru> Date: Tue, 16 Mar 2021 14:48:05 +0300 Subject: [PATCH] cleanup --- server/torr/storage/torrstor/cache.go | 1 - 1 file changed, 1 deletion(-) diff --git a/server/torr/storage/torrstor/cache.go b/server/torr/storage/torrstor/cache.go index 3d3a494..07a8418 100644 --- a/server/torr/storage/torrstor/cache.go +++ b/server/torr/storage/torrstor/cache.go @@ -62,7 +62,6 @@ func (c *Cache) Init(info *metainfo.Info, hash metainfo.Hash) { for i := 0; i < c.pieceCount; i++ { c.pieces[i] = &Piece{ Id: i, - Hash: info.Piece(i).Hash().HexString(), cache: c, } }