mirror of
https://github.com/mimblewimble/grin.git
synced 2025-01-20 19:11:08 +03:00
fix a confusing log on body sync (#2219)
This commit is contained in:
parent
2a8456a9db
commit
eebc2b208e
1 changed files with 2 additions and 2 deletions
|
@ -767,7 +767,7 @@ impl Chain {
|
|||
|
||||
if body_head.total_difficulty >= header_head.total_difficulty {
|
||||
debug!(
|
||||
"{}: no need. header_head.total_difficulty: {} <= body_head.total_difficulty: {}",
|
||||
"{}: no need txhashset. header_head.total_difficulty: {} <= body_head.total_difficulty: {}",
|
||||
caller, header_head.total_difficulty, body_head.total_difficulty,
|
||||
);
|
||||
return false;
|
||||
|
@ -808,7 +808,7 @@ impl Chain {
|
|||
if oldest_height < header_head.height.saturating_sub(horizon) {
|
||||
if oldest_height > 0 {
|
||||
debug!(
|
||||
"{}: oldest block which is not on local chain: {} at {}",
|
||||
"{}: need a state sync for txhashset. oldest block which is not on local chain: {} at {}",
|
||||
caller, oldest_hash, oldest_height,
|
||||
);
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue