diff --git a/blocks/blockstore/util/remove.go b/blocks/blockstore/util/remove.go index 3c16549bf..e4ae67868 100644 --- a/blocks/blockstore/util/remove.go +++ b/blocks/blockstore/util/remove.go @@ -29,7 +29,7 @@ type RmBlocksOpts struct { func RmBlocks(blocks bs.GCBlockstore, pins pin.Pinner, cids []*cid.Cid, opts RmBlocksOpts) (<-chan interface{}, error) { // make the channel large enough to hold any result to avoid - // blocking while holding the GCLock + // blocking while holding the GCLock out := make(chan interface{}, len(cids)) go func() { defer close(out)