diff --git a/client/container_list_stream.go b/client/container_list_stream.go index 5ae282a..79dd0b4 100644 --- a/client/container_list_stream.go +++ b/client/container_list_stream.go @@ -80,10 +80,6 @@ type ContainerListReader struct { // // Panics if buf has zero length. func (x *ContainerListReader) Read(buf []cid.ID) (int, bool) { - // if len(buf) == 0 { - // panic("empty buffer in ContainerListReader.ReadList") - // } - read := copyCnrIDBuffers(buf, x.tail) x.tail = x.tail[read:]