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() {
match retransmit.send(packets) {
Ok(_) => Ok(()),
Err(e) => Err(e),
}?;
// Ignore the send error, as the retransmit is optional (e.g. replicators don't retransmit)
let _ = retransmit.send(packets);
}
blocktree.insert_shreds(shreds)?;