Skip to content

Commit 87ca44e

Browse files
committed
skip healing for breaking purposes
1 parent 1687c10 commit 87ca44e

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

crates/networking/p2p/sync.rs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -832,7 +832,14 @@ impl Syncer {
832832
let mut global_state_leafs_healed: u64 = 0;
833833
let mut global_storage_leafs_healed: u64 = 0;
834834
let mut healing_done = false;
835-
while !healing_done {
835+
pivot_header = update_pivot(
836+
pivot_header.number,
837+
pivot_header.timestamp,
838+
&mut self.peers,
839+
block_sync_state,
840+
)
841+
.await?;
842+
while false {
836843
// This if is an edge case for the skip snap sync scenario
837844
if block_is_stale(&pivot_header) {
838845
pivot_header = update_pivot(

0 commit comments

Comments
 (0)