removing logging of error on empty channel in block listner

This commit is contained in:
Godmode Galactus 2023-06-13 10:57:54 +02:00
parent 18a220e790
commit 0f567b50fc
No known key found for this signature in database
GPG Key ID: A04142C71ABB0DEA
1 changed files with 3 additions and 2 deletions

View File

@ -296,8 +296,9 @@ impl BlockListener {
BLOCKS_IN_RETRY_QUEUE.inc();
};
},
Err(e) => {
error!("Error on block listner recv stream {e:?}");
Err(_) => {
// We get error because channel is empty we retry recv again
tokio::time::sleep(Duration::from_millis(1)).await;
}
}
}