Skip to content

Commit

Permalink
log: add log
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkAfCod committed Apr 26, 2024
1 parent 0cbf219 commit 4a27170
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,7 @@ private void updateSafeHead(BlockInfo newHead, Epoch newEpoch, boolean reorgUnsa
this.safeEpoch = newEpoch;
}
if (reorgUnsafe || this.safeHead.number().compareTo(this.unsafeHead.number()) > 0) {
LOGGER.info("update unsafe head number({}) to new head({})", this.unsafeHead.number(), newHead.number());
this.unsafeHead = newHead;
}
}
Expand Down

0 comments on commit 4a27170

Please sign in to comment.