Skip to content
This repository has been archived by the owner on Mar 28, 2023. It is now read-only.

Commit

Permalink
Add validator in mobile package
Browse files Browse the repository at this point in the history
  • Loading branch information
cpacia committed Apr 29, 2019
1 parent 9e955d6 commit b478fd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mobile/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ func constructMobileRouting(ctx context.Context, host p2phost.Host, dstore ds.Ba
if err != nil {
return nil, err
}
apiRouter := ipfs.NewAPIRouter(schema.IPFSCachingRouterDefaultURI)
apiRouter := ipfs.NewAPIRouter(schema.IPFSCachingRouterDefaultURI, dhtRouting.Validator)
apiRouter.Start(nil)
cachingRouter := ipfs.NewCachingRouter(dhtRouting, &apiRouter)
return cachingRouter, nil
Expand Down

0 comments on commit b478fd7

Please sign in to comment.