From f1d58f980bc821284a1a2d617eb5a3a0cd80a590 Mon Sep 17 00:00:00 2001 From: Pankaj Garg Date: Tue, 27 Aug 2019 12:41:04 -0700 Subject: [PATCH] Ignore retransmit channel error (#5680) automerge --- core/src/window_service.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/core/src/window_service.rs b/core/src/window_service.rs index 7b3009c283..03511fff2b 100644 --- a/core/src/window_service.rs +++ b/core/src/window_service.rs @@ -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)?;