Do not generate gossip requests to unspecified addresses (#657)

* Do not generate gossip requests to unspecified addresses

* review comments
This commit is contained in:
anatoly yakovenko
2018-07-17 09:44:48 -07:00
committed by GitHub
parent 2bd48b4207
commit 1fb537deb9
3 changed files with 75 additions and 36 deletions

View File

@@ -731,7 +731,7 @@ pub fn broadcaster(
match e {
Error::RecvTimeoutError(RecvTimeoutError::Disconnected) => break,
Error::RecvTimeoutError(RecvTimeoutError::Timeout) => (),
Error::CrdtError(CrdtError::TooSmall) => (), // TODO: Why are the unit-tests throwing hundreds of these?
Error::CrdtError(CrdtError::NoPeers) => (), // TODO: Why are the unit-tests throwing hundreds of these?
_ => {
inc_new_counter!("streamer-broadcaster-error", 1, 1);
error!("broadcaster error: {:?}", e);