From 9493cb30fc8cb1404c719b4d25e034b4b9ab3109 Mon Sep 17 00:00:00 2001 From: CPerezz Date: Sun, 8 Feb 2026 00:48:43 +0100 Subject: [PATCH] triedb/pathdb: downgrade duplicate disable log from ERROR to INFO After an unclean shutdown, Disable() is called twice which is expected behavior. The second call was logging at ERROR level, which was misleading. Downgrade to INFO since this is a normal occurrence. --- triedb/pathdb/database.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/triedb/pathdb/database.go b/triedb/pathdb/database.go index 86a42c69f4..4665a6740c 100644 --- a/triedb/pathdb/database.go +++ b/triedb/pathdb/database.go @@ -350,7 +350,7 @@ func (db *Database) Disable() error { } // Prevent duplicated disable operation. if db.waitSync { - log.Error("Reject duplicated disable operation") + log.Info("Reject duplicated disable operation") return nil } db.waitSync = true