Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
fmoletta committed Jan 31, 2025
1 parent 1ab7c75 commit 077760f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions crates/networking/p2p/sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -367,8 +367,6 @@ async fn rebuild_state_trie(
.await
{
debug!("Received {} account ranges", accounts.len());
// Reset retry counter
retry_count = 0;
// Update starting hash for next batch
if should_continue {
start_account_hash = *account_hashes.last().unwrap();
Expand Down Expand Up @@ -741,7 +739,6 @@ async fn heal_state_trie(
.await
{
debug!("Received {} state nodes", nodes.len());
// Reset retry counter for next request
let mut hahsed_addresses = vec![];
let mut code_hashes = vec![];
// For each fetched node:
Expand Down

0 comments on commit 077760f

Please sign in to comment.