diff --git a/core/openp2p.go b/core/openp2p.go index e00b805..59fe5f6 100644 --- a/core/openp2p.go +++ b/core/openp2p.go @@ -63,7 +63,7 @@ func Run() { return } gLog.Println(LvINFO, "waiting for connection...") - forever := make(chan bool) + forever := make(chan struct{}) <-forever }