Skip to content

Commit

Permalink
Merge pull request #197 from subspace/fix-incorrect-unwrap
Browse files Browse the repository at this point in the history
Fix incorrect unwrap causing issues on testnet
  • Loading branch information
nazar-pc authored Dec 14, 2021
2 parents 6c7e0fd + 7f9a7cc commit 11620f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/subspace-farmer/src/plotting.rs
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ async fn background_plotting<T: RpcClient + Clone + Send + 'static>(
// 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 => {
Expand Down

0 comments on commit 11620f9

Please sign in to comment.