Fix bootnode hang up

This commit is contained in:
rairyx 2019-07-24 10:40:25 -07:00
parent 150ecf18bf
commit db4ccf1fb6

View File

@ -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)