Skip to content
Snippets Groups Projects
Commit f7c90867 authored by Omar Yassin's avatar Omar Yassin Committed by Omer Yacine
Browse files

disable the extra bootstraping

parent 8824b737
Branches
No related tags found
No related merge requests found
...@@ -149,6 +149,8 @@ func (n *IpfsNode) Context() context.Context { ...@@ -149,6 +149,8 @@ func (n *IpfsNode) Context() context.Context {
// Bootstrap will set and call the IpfsNodes bootstrap function. // Bootstrap will set and call the IpfsNodes bootstrap function.
func (n *IpfsNode) Bootstrap(cfg bootstrap.BootstrapConfig) error { func (n *IpfsNode) Bootstrap(cfg bootstrap.BootstrapConfig) error {
// HELP: Don't attempt to bootstrap (to the bootstrap nodes or the backup node from the datastore).
return nil
// TODO what should return value be when in offlineMode? // TODO what should return value be when in offlineMode?
if n.Routing == nil { if n.Routing == nil {
return nil return nil
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment