First Starting debug

This commit is contained in:
mr
2026-02-02 09:05:58 +01:00
parent 562d86125e
commit c3352499fa
13 changed files with 74 additions and 29 deletions

View File

@@ -246,7 +246,7 @@ func ConnectToIndexers(h host.Host, minIndexer int, maxIndexer int, myPID pp.ID)
}
}
if len(StaticIndexers) == 0 {
panic("can't run a node with no indexers")
logger.Err(errors.New("you run a node without indexers... your gonna be isolated."))
}
if len(StaticIndexers) < minIndexer {