Skip to content

Commit 96d9306

Browse files
authored
Merge pull request #22381 from karalabe/lower-error-log
eth/protocols/snap: lower abortion and resumption logs to debug
2 parents 8e547ee + b2b5c82 commit 96d9306

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎eth/protocols/snap/sync.go‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1595,7 +1595,7 @@ func (s *Syncer) processAccountResponse(res *accountResponse) {
15951595
// is interrupted and resumed later. However, *do* update the
15961596
// previous root hash.
15971597
if subtasks, ok := res.task.SubTasks[res.hashes[i]]; ok {
1598-
log.Error("Resuming large storage retrieval", "account", res.hashes[i], "root", account.Root)
1598+
log.Debug("Resuming large storage retrieval", "account", res.hashes[i], "root", account.Root)
15991599
for _, subtask := range subtasks {
16001600
subtask.root = account.Root
16011601
}
@@ -1614,7 +1614,7 @@ func (s *Syncer) processAccountResponse(res *accountResponse) {
16141614
// now we have to live with that.
16151615
for hash := range res.task.SubTasks {
16161616
if _, ok := resumed[hash]; !ok {
1617-
log.Error("Aborting suspended storage retrieval", "account", hash)
1617+
log.Debug("Aborting suspended storage retrieval", "account", hash)
16181618
delete(res.task.SubTasks, hash)
16191619
}
16201620
}

0 commit comments

Comments
 (0)