Fix how filestore is hooked up.
Closes #5121. License: MIT Signed-off-by: Kevin Atkinson <k@kevina.org>
Kevin Atkinson committed
Jun 15, 2018 at 02:33 UTC
a598a374e6d8f776b81eb0ff4652366e99fe792a
1 file changed
+1
-1
core/builder.go
+1
-1
@@ -207,7 +207,7 @@ func setupNode(ctx context.Context, n *IpfsNode, cfg *BuildCfg) error {
207
208
if conf.Experimental.FilestoreEnabled {
209
// hash security
210
- n.Filestore = filestore.NewFilestore(bs, n.Repo.FileManager())
210
+ n.Filestore = filestore.NewFilestore(cbs, n.Repo.FileManager())
211
n.Blockstore = bstore.NewGCBlockstore(n.Filestore, n.GCLocker)
212
n.Blockstore = &verifbs.VerifBSGC{GCBlockstore: n.Blockstore}
213
}