Skip to content

Commit

Permalink
Merge pull request #4820 from janx/polish-logs
Browse files Browse the repository at this point in the history
improve assume-valid-target info logs
  • Loading branch information
zhangsoledad authored Feb 25, 2025
2 parents 4ffda6f + 6b3f19e commit 6c3ac8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions shared/src/shared_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ impl SharedBuilder {
.filter(|&target_hash| {
let exists = snapshot.block_exists(&target_hash.pack());
if exists {
info!("assume valid target 0x{} already exists in db", target_hash);
info!("assume-valid target 0x{} exists in local db", target_hash);
}
!exists
})
Expand All @@ -449,7 +449,7 @@ impl SharedBuilder {
.as_ref()
.is_some_and(|targets| targets.is_empty())
{
info!("all assume valid targets is already in db, CKB will do full verification from now on");
info!("all assume-valid targets synchronized, enter full verification mode");
None
} else {
not_exists_targets
Expand Down

0 comments on commit 6c3ac8b

Please sign in to comment.