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