Unverified Commit 96d93064 authored by Péter Szilágyi's avatar Péter Szilágyi Committed by GitHub

Merge pull request #22381 from karalabe/lower-error-log

eth/protocols/snap: lower abortion and resumption logs to debug
parents 8e547eec b2b5c82a
......@@ -1595,7 +1595,7 @@ func (s *Syncer) processAccountResponse(res *accountResponse) {
// is interrupted and resumed later. However, *do* update the
// previous root hash.
if subtasks, ok := res.task.SubTasks[res.hashes[i]]; ok {
log.Error("Resuming large storage retrieval", "account", res.hashes[i], "root", account.Root)
log.Debug("Resuming large storage retrieval", "account", res.hashes[i], "root", account.Root)
for _, subtask := range subtasks {
subtask.root = account.Root
}
......@@ -1614,7 +1614,7 @@ func (s *Syncer) processAccountResponse(res *accountResponse) {
// now we have to live with that.
for hash := range res.task.SubTasks {
if _, ok := resumed[hash]; !ok {
log.Error("Aborting suspended storage retrieval", "account", hash)
log.Debug("Aborting suspended storage retrieval", "account", hash)
delete(res.task.SubTasks, hash)
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment