mirror of
https://github.com/ipfs/kubo.git
synced 2025-06-28 00:39:31 +08:00
Merge pull request #5122 from ipfs/kevina/filestore-hookup-fix
Fix how filestore is hooked up.
This commit is contained in:
@ -207,7 +207,7 @@ func setupNode(ctx context.Context, n *IpfsNode, cfg *BuildCfg) error {
|
|||||||
|
|
||||||
if conf.Experimental.FilestoreEnabled {
|
if conf.Experimental.FilestoreEnabled {
|
||||||
// hash security
|
// 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 = bstore.NewGCBlockstore(n.Filestore, n.GCLocker)
|
||||||
n.Blockstore = &verifbs.VerifBSGC{GCBlockstore: n.Blockstore}
|
n.Blockstore = &verifbs.VerifBSGC{GCBlockstore: n.Blockstore}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user