We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d7226b commit c56419fCopy full SHA for c56419f
src/network.rs
@@ -1671,7 +1671,7 @@ const RETARGET_BACKFILL: u64 = RETARGET_INTERVAL; // request a full retarget win
1671
if db.put("epoch", b"latest", &a).is_err() { crate::metrics::DB_WRITE_FAILS.inc(); }
1672
} else {
1673
// Parent missing or mismatch: request targeted backfill and do not advance latest
1674
- request_aligned_range(&command_tx, a.num, REORG_BACKFILL);
+ request_aligned_range(&command_tx, a.num - 1, REORG_BACKFILL);
1675
}
1676
let _ = anchor_tx.send(a.clone());
1677
0 commit comments