zebrad: hack to skip alreadyverified errors
@@ -214,11 +214,16 @@ where
Ok(hash) => {
tracing::trace!(?hash, "verified and committed block to state");
}
+
Err(e) => {
+ if format!("{:?}", e).contains("AlreadyVerified {") {
+ tracing::info!(error = ?e, "error seems like it might be already verified, this is probably fine i guess?")
+ } else {
tracing::warn!(?e, "error downloading and verifying block");
continue 'sync;
}
}
+ }
self.update_metrics();
}
