From 7f9a7cc76bad576f11825dd25e5e5e2906e22170 Mon Sep 17 00:00:00 2001 From: Nazar Mokrynskyi Date: Tue, 14 Dec 2021 02:50:58 +0200 Subject: [PATCH] Fix incorrect unwrap causing issues on testnet --- crates/subspace-farmer/src/plotting.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/subspace-farmer/src/plotting.rs b/crates/subspace-farmer/src/plotting.rs index f9b54a17dd..ce74384140 100644 --- a/crates/subspace-farmer/src/plotting.rs +++ b/crates/subspace-farmer/src/plotting.rs @@ -311,7 +311,7 @@ async fn background_plotting( // We send block that should be archived over channel that doesn't have a buffer, atomic // integer is used to make sure archiving process always read up to date value block_to_archive.store(block, Ordering::Relaxed); - new_block_to_archive_sender.try_send(Arc::clone(&block_to_archive)).expect("Cannot send the message to plot!"); + let _ = new_block_to_archive_sender.try_send(Arc::clone(&block_to_archive)); } }, None => {