Ignore retransmit channel error (#5680) (#5683)

automerge

(cherry picked from commit f1d58f980b)
This commit is contained in:
mergify[bot]
2019-08-27 13:58:10 -07:00
committed by Michael Vines
parent 6a630ff156
commit 9098f02f98

View File

@ -106,10 +106,8 @@ where
); );
if !packets.packets.is_empty() { if !packets.packets.is_empty() {
match retransmit.send(packets) { // Ignore the send error, as the retransmit is optional (e.g. replicators don't retransmit)
Ok(_) => Ok(()), let _ = retransmit.send(packets);
Err(e) => Err(e),
}?;
} }
blocktree.insert_shreds(shreds)?; blocktree.insert_shreds(shreds)?;