Skip to content

Commit

Permalink
Ignore failing send for clean tokio shutdown
Browse files Browse the repository at this point in the history
  • Loading branch information
tiram88 committed Sep 22, 2023
1 parent bb724e6 commit 66dbca8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mining/src/manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,7 @@ impl MiningManager {
}
}
if !valid_ids.is_empty() {
assert!(transaction_ids_sender.send(valid_ids).is_ok(), "the channel is expected to have a receiver and be opened");
let _ = transaction_ids_sender.send(valid_ids);
}
drop(_swo);
mempool.log_stats();
Expand Down

0 comments on commit 66dbca8

Please sign in to comment.