Commit ded9b460 authored by Juan Benet's avatar Juan Benet

Merge pull request #1869 from ipfs/fix-fuse-ipns

ipns_test: fix namesys.NewNameSystem() call
parents a79a9e77 9555ff11
...@@ -113,7 +113,7 @@ func setupIpnsTest(t *testing.T, node *core.IpfsNode) (*core.IpfsNode, *fstest.M ...@@ -113,7 +113,7 @@ func setupIpnsTest(t *testing.T, node *core.IpfsNode) (*core.IpfsNode, *fstest.M
} }
node.Routing = offroute.NewOfflineRouter(node.Repo.Datastore(), node.PrivateKey) node.Routing = offroute.NewOfflineRouter(node.Repo.Datastore(), node.PrivateKey)
node.Namesys = namesys.NewNameSystem(node.Routing) node.Namesys = namesys.NewNameSystem(node.Routing, node.Repo.Datastore())
ipnsfs, err := nsfs.NewFilesystem(context.Background(), node.DAG, node.Namesys, node.Pinning, node.PrivateKey) ipnsfs, err := nsfs.NewFilesystem(context.Background(), node.DAG, node.Namesys, node.Pinning, node.PrivateKey)
if err != nil { if err != nil {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment