From db4ccf1fb66c497b68497e7f4a4fbedf843288ca Mon Sep 17 00:00:00 2001 From: rairyx Date: Wed, 24 Jul 2019 10:40:25 -0700 Subject: [PATCH] Fix bootnode hang up --- pubsub/raven.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pubsub/raven.go b/pubsub/raven.go index a32c49a..775d277 100644 --- a/pubsub/raven.go +++ b/pubsub/raven.go @@ -177,8 +177,9 @@ func main() { }) if bBootstrap { fmt.Println("Bootstrapper running.\nPubSub object instantiated using GossipSubRouter.\nCtrl+C to exit.") - for true { - } + // for true { + // } + select {} } else { // Now, wait for input from the user, and send that out! scan := bufio.NewScanner(os.Stdin)