Skip to content

Commit 64a3c65

Browse files
committed
reduce diff in log
1 parent 9d89fdb commit 64a3c65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eth/handler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ func newHandler(config *handlerConfig) (*handler, error) {
197197
head := h.chain.CurrentBlock()
198198
if head.Number.Uint64() > 0 && h.chain.HasState(head.Root) && (!config.Chain.Config().IsOptimism() || head.Number.Cmp(config.Chain.Config().BedrockBlock) != 0) {
199199
// For OP chains, snap sync from bedrock block is allowed.
200-
log.Info("Switch sync mode from snap sync to full sync")
200+
log.Info("Switch sync mode from snap sync to full sync", "reason", "snap sync complete")
201201
} else {
202202
// If snap sync was requested and our database is empty, grant it
203203
h.snapSync.Store(true)

0 commit comments

Comments
 (0)