From 1a84022c028561b3b0a6002e8eec4f87d9d19673 Mon Sep 17 00:00:00 2001 From: rizkyikiw42 Date: Fri, 5 Dec 2025 11:09:44 +0800 Subject: [PATCH] eth/protocols/snap: clean up outdated TODO and adjust log level --- eth/protocols/snap/sync.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/eth/protocols/snap/sync.go b/eth/protocols/snap/sync.go index cf4e494645..490f18312d 100644 --- a/eth/protocols/snap/sync.go +++ b/eth/protocols/snap/sync.go @@ -1978,12 +1978,10 @@ func (s *Syncer) processAccountResponse(res *accountResponse) { // The hash of last delivered account in the response last := res.hashes[len(res.hashes)-1] for hash := range res.task.SubTasks { - // TODO(rjl493456442) degrade the log level before merging. if hash.Cmp(last) > 0 { - log.Info("Keeping suspended storage retrieval", "account", hash) + log.Debug("Keeping suspended storage retrieval", "account", hash) continue } - // TODO(rjl493456442) degrade the log level before merging. // It should never happen in ethereum. if _, ok := resumed[hash]; !ok { log.Error("Aborting suspended storage retrieval", "account", hash)