Skip to content
Snippets Groups Projects
Commit a92e87a4 authored by Antonio Navarro Perez's avatar Antonio Navarro Perez Committed by galargh
Browse files

fix: Set default Methods value to nil

parent c4a06569
Branches
Tags
No related merge requests found
......@@ -49,13 +49,7 @@ func InitWithIdentity(identity Identity) (*Config, error) {
Routing: Routing{
Type: "dht",
Methods: Methods{
MethodNameFindPeers: Method{},
MethodNameFindProviders: Method{},
MethodNameGetIPNS: Method{},
MethodNameProvide: Method{},
MethodNamePutIPNS: Method{},
},
Methods: nil,
Routers: nil,
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment