Commit 9555ff11 authored by Christian Couder's avatar Christian Couder

ipns_test: fix namesys.NewNameSystem() call

There is the following erreor otherwise:

```
$ go test github.com/ipfs/go-ipfs/fuse/ipns
../../fuse/ipns/ipns_test.go:116: not enough arguments in call to namesys.NewNameSystem
FAIL    github.com/ipfs/go-ipfs/fuse/ipns [build failed]
```

License: MIT
Signed-off-by: default avatarChristian Couder <chriscool@tuxfamily.org>
parent 2afe4a4d
......@@ -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.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)
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