We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb1054f commit 44b1440Copy full SHA for 44b1440
src/daemon.rs
@@ -620,7 +620,9 @@ impl Daemon {
620
Ok(blocks) => break blocks,
621
Err(e) => {
622
let err_msg = format!("{e:?}");
623
- if err_msg.contains("Block not found on disk") {
+ if err_msg.contains("Block not found on disk")
624
+ || err_msg.contains("Block not available")
625
+ {
626
// There is a small chance the node returns the header but didn't finish to index the block
627
log::warn!("getblocks failing with: {e:?} trying {attempts} more time")
628
} else {
0 commit comments