From 25f95717393f815cf13aaf0cf1391e96b70c6c03 Mon Sep 17 00:00:00 2001 From: Csaba Kiraly Date: Mon, 13 Oct 2025 18:41:16 +0200 Subject: [PATCH] eth: do not warn on switching from snap sync to full sync This happens normally after a restart, so better to use Info. Signed-off-by: Csaba Kiraly --- eth/handler.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/eth/handler.go b/eth/handler.go index 304560a1586..ff970e2ba62 100644 --- a/eth/handler.go +++ b/eth/handler.go @@ -181,8 +181,7 @@ func newHandler(config *handlerConfig) (*handler, error) { } else { head := h.chain.CurrentBlock() if head.Number.Uint64() > 0 && h.chain.HasState(head.Root) { - // Print warning log if database is not empty to run snap sync. - log.Warn("Switch sync mode from snap sync to full sync", "reason", "snap sync complete") + log.Info("Switch sync mode from snap sync to full sync", "reason", "snap sync complete") } else { // If snap sync was requested and our database is empty, grant it h.snapSync.Store(true)