@cryptotaxi247 / kubo / commits / 3dca025f0

Remove pipe close since we are already in error

Peter Rabbitson committed Mar 27, 2020 at 07:02 UTC 3dca025f05ba84b48e58f59dbbc806a0c08501fc
1 file changed -1
core/commands/dag/dag.go
-1
@@ -329,7 +329,6 @@ The output of blocks happens in strict DAG-traversal, first-seen, order.
329 }()
330
331 if err := res.Emit(pipeR); err != nil {
332 - pipeW.Close() // ignore errors if any
332 return err
333 }
334