Skip to content

Commit

Permalink
Merge pull request #45 from acosta-brickabode/fix/log-level-syncer
Browse files Browse the repository at this point in the history
fix: Replace log::info feature with log::debug to fix overprinting sync messages
  • Loading branch information
johanneshahn committed Mar 8, 2022
2 parents 3a1b3f9 + d78dd70 commit b2e007f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion servers/src/epic/sync/syncer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ impl SyncRunner {

let peer_diff = peer_info.total_difficulty();
if peer_diff > local_diff.clone() + threshold.clone() {
info!(
debug!(
"sync: total_difficulty {}, peer_difficulty {}, threshold {} (last 5 blocks), enabling sync",
local_diff,
peer_diff,
Expand Down

0 comments on commit b2e007f

Please sign in to comment.