From 48857b7e16cd3993d2cc191cccfa792500fb0c7a Mon Sep 17 00:00:00 2001 From: Gary Yu Date: Tue, 11 Sep 2018 06:23:49 +0800 Subject: [PATCH] Fix infinite loop in case of some peer connect errors (#1494) --- servers/src/grin/seed.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/src/grin/seed.rs b/servers/src/grin/seed.rs index 0ec6febfa..2c2365ae7 100644 --- a/servers/src/grin/seed.rs +++ b/servers/src/grin/seed.rs @@ -314,7 +314,7 @@ fn listen_for_addrs( } } p2p::Error::PeerWithSelf => break, - _ => continue, + _ => (), } } }