diff --git a/examples/api/demoapp/readme.md b/examples/api/demoapp/readme.md index bf45902..3d00e13 100644 --- a/examples/api/demoapp/readme.md +++ b/examples/api/demoapp/readme.md @@ -54,10 +54,6 @@ func SetupIpfs() (*core.IpfsNode, error) { Online: true, } - cfg := new(core.BuildCfg) - cfg.Repo = r - cfg.Online = true - return core.NewNode(context.Background(), cfg) } ```