提交 a598a374 作者: Kevin Atkinson

Fix how filestore is hooked up.

Closes #5121.

License: MIT
Signed-off-by: 's avatarKevin Atkinson <k@kevina.org>
上级 dbaeb844
......@@ -207,7 +207,7 @@ func setupNode(ctx context.Context, n *IpfsNode, cfg *BuildCfg) error {
if conf.Experimental.FilestoreEnabled {
// hash security
n.Filestore = filestore.NewFilestore(bs, n.Repo.FileManager())
n.Filestore = filestore.NewFilestore(cbs, n.Repo.FileManager())
n.Blockstore = bstore.NewGCBlockstore(n.Filestore, n.GCLocker)
n.Blockstore = &verifbs.VerifBSGC{GCBlockstore: n.Blockstore}
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论