Skip to content

Commit

Permalink
Merge pull request ethereum#22381 from karalabe/lower-error-log
Browse files Browse the repository at this point in the history
eth/protocols/snap: lower abortion and resumption logs to debug
  • Loading branch information
karalabe authored Feb 25, 2021
2 parents 8e547ee + b2b5c82 commit 96d9306
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eth/protocols/snap/sync.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand All @@ -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)
}
}
Expand Down

0 comments on commit 96d9306

Please sign in to comment.