diff --git a/io/dagreader.go b/io/dagreader.go index 48aa91369..9abfe0c9d 100644 --- a/io/dagreader.go +++ b/io/dagreader.go @@ -45,7 +45,7 @@ func NewDagReader(ctx context.Context, n node.Node, serv mdag.DAGService) (DagRe } switch pb.GetType() { - case ftpb.Data_Directory: + case ftpb.Data_Directory, ftpb.Data_HAMTShard: // Dont allow reading directories return nil, ErrIsDir case ftpb.Data_File, ftpb.Data_Raw: