Skip to content

Commit

Permalink
Update src/server/p2p/network.rs
Browse files Browse the repository at this point in the history
Co-authored-by: stringhandler <[email protected]>
  • Loading branch information
SWvheerden and stringhandler authored Dec 6, 2024
1 parent 46694a2 commit df02159
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/p2p/network.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1768,7 +1768,7 @@ where S: ShareChain
};
let our_tip = share_chain.get_tip().await?.unwrap_or_default();
if our_tip.0 < their_height.saturating_sub(10) {
info!(target: SYNC_REQUEST_LOG_TARGET, "We({}) are out by more than 10 blocks from syncing peer({}), seeting sync status to false", our_tip.0, their_height);
info!(target: SYNC_REQUEST_LOG_TARGET, "We({}) are out by more than 10 blocks from syncing peer({}), setting sync status to false", our_tip.0, their_height);
sync_status.store(false, std::sync::atomic::Ordering::Relaxed);
}

Expand Down

0 comments on commit df02159

Please sign in to comment.