Ignore retransmit channel error (#5680)

automerge
This commit is contained in:
Pankaj Garg 2019-08-27 12:41:04 -07:00 committed by Grimes
parent b1dfbf0ac4
commit f1d58f980b
1 changed files with 2 additions and 4 deletions

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)?;