Skip to content

Commit

Permalink
Merge pull request #5122 from ipfs/kevina/filestore-hookup-fix
Browse files Browse the repository at this point in the history
Fix how filestore is hooked up.
  • Loading branch information
whyrusleeping authored Jun 17, 2018
2 parents 6627ef8 + a598a37 commit b516aa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -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}
}
Expand Down

0 comments on commit b516aa1

Please sign in to comment.