From: Matt Corallo Date: Sun, 2 Jun 2019 18:33:19 +0000 (-0400) Subject: Close recv stream after receiving block X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=894cf32d90308efbf7af5339677d822d27633bc3;p=dnsseed-rust Close recv stream after receiving block --- diff --git a/src/main.rs b/src/main.rs index 8b49782..ae0bb5b 100644 --- a/src/main.rs +++ b/src/main.rs @@ -156,6 +156,7 @@ pub fn scan_node(scan_time: Instant, node: SocketAddr, manual: bool) { return future::err(()); } check_set_flag!(recvd_block, "block"); + return future::err(()); }, _ => {}, }