Unverified Commit b516aa1c authored by Whyrusleeping's avatar Whyrusleeping Committed by GitHub

Merge pull request #5122 from ipfs/kevina/filestore-hookup-fix

Fix how filestore is hooked up.
parents 6627ef88 a598a374
......@@ -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 is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment