packages/hyprspace: don't die if initial bootstrap fails
This commit is contained in:
parent
d9d599a598
commit
7164f05fac
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ func CreateNode(ctx context.Context, inputKey []byte, port int, handler network.
|
|||
count := bootstrap(ctx, node, BootstrapPeers)
|
||||
|
||||
if count < 1 {
|
||||
return node, dhtOut, errors.New("unable to bootstrap libp2p node")
|
||||
fmt.Println("[!] Initial bootstrap failed")
|
||||
}
|
||||
|
||||
go rebootstrap(ctx, node, BootstrapPeers)
|
||||
|
|
Loading…
Reference in a new issue