Make client import actually work

This commit is contained in:
Łukasz Magiera
2019-07-15 16:17:34 +02:00
parent 55b9f8d550
commit cec4918cd9
4 changed files with 8 additions and 2 deletions
+2 -2
View File
@@ -40,8 +40,8 @@ func (s *LocalStorage) ClientImport(ctx context.Context, path string) (cid.Cid,
Maxlinks: ihelper.DefaultLinksPerBlock,
RawLeaves: true,
CidBuilder: nil,
Dagserv: bufferedDS, // flush?
NoCopy: false,
Dagserv: bufferedDS,
NoCopy: true,
}
db, err := params.New(chunker.DefaultSplitter(file))