Commit f2292db3 authored by clabby's avatar clabby

semgrep

parent 4de760d3
......@@ -87,10 +87,7 @@ func (co *GarbageChannelOut) Reset() error {
co.compress.Reset(&co.buf)
co.closed = false
_, err := rand.Read(co.id[:])
if err != nil {
return err
}
return nil
return err
}
// AddBlock adds a block to the channel. It returns an error
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment