projects
/
dnsseed-rust
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
af2cd26
)
Close recv stream after receiving block
author
Matt Corallo
<git@bluematt.me>
Sun, 2 Jun 2019 18:33:19 +0000
(14:33 -0400)
committer
Matt Corallo
<git@bluematt.me>
Sun, 2 Jun 2019 18:33:19 +0000
(14:33 -0400)
src/main.rs
patch
|
blob
|
history
diff --git
a/src/main.rs
b/src/main.rs
index 8b49782a29b3cf220af245010611a1a3b2419be4..ae0bb5b833ce37510b099072bd97068ac7bac532 100644
(file)
--- 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(());
},
_ => {},
}