From a598a374e6d8f776b81eb0ff4652366e99fe792a Mon Sep 17 00:00:00 2001 From: Kevin Atkinson Date: Fri, 15 Jun 2018 02:33:01 -0400 Subject: [PATCH] Fix how filestore is hooked up. Closes #5121. License: MIT Signed-off-by: Kevin Atkinson --- core/builder.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/builder.go b/core/builder.go index 4989301bcea..4de4595cd02 100644 --- a/core/builder.go +++ b/core/builder.go @@ -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} }