We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ab15cc commit eec9df1Copy full SHA for eec9df1
src/event_scanner/scanner/common.rs
@@ -147,10 +147,7 @@ fn spawn_log_consumers_in_stream_mode<N: Network>(
147
loop {
148
match range_rx.recv().await {
149
Ok(message) => {
150
- if tx.send(message).await.is_err() {
151
- debug!("Range processor dropped, stopping range reception");
152
- break;
153
- }
+ tx.send(message).await.expect("receiver dropped only if we exit this loop");
154
}
155
Err(RecvError::Closed) => {
156
debug!("No more block ranges to receive");
0 commit comments