Skip to content

Commit

Permalink
Fix how filestore is hooked up.
Browse files Browse the repository at this point in the history
Closes #5121.

License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
  • Loading branch information
kevina committed Jun 15, 2018
1 parent dbaeb84 commit a598a37
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 a598a37

Please sign in to comment.