]> Cypherpunks.ru repositories - nncp.git/blobdiff - src/check.go
Remove unused #nosec-s
[nncp.git] / src / check.go
index d6a98fac805f3bcbff2b84af5da4ef804424d56c..811bab0340e2333db7d327154600743733bf8038 100644 (file)
@@ -62,7 +62,7 @@ func (ctx *Ctx) checkXxIsBad(nodeId *NodeId, xx TRxTx) bool {
                        return true
                }
                gut, err := Check(fd, job.Size, job.HshValue[:], les, ctx.ShowPrgrs)
-               fd.Close() // #nosec G104
+               fd.Close()
                if err != nil {
                        ctx.LogE("checking", les, err, logMsg)
                        return true