mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-22 12:46:44 +00:00
eth/protocols/snap: clean up outdated TODO and adjust log level
This commit is contained in:
parent
73a2df2b0a
commit
1a84022c02
1 changed files with 1 additions and 3 deletions
|
|
@ -1978,12 +1978,10 @@ func (s *Syncer) processAccountResponse(res *accountResponse) {
|
||||||
// The hash of last delivered account in the response
|
// The hash of last delivered account in the response
|
||||||
last := res.hashes[len(res.hashes)-1]
|
last := res.hashes[len(res.hashes)-1]
|
||||||
for hash := range res.task.SubTasks {
|
for hash := range res.task.SubTasks {
|
||||||
// TODO(rjl493456442) degrade the log level before merging.
|
|
||||||
if hash.Cmp(last) > 0 {
|
if hash.Cmp(last) > 0 {
|
||||||
log.Info("Keeping suspended storage retrieval", "account", hash)
|
log.Debug("Keeping suspended storage retrieval", "account", hash)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
// TODO(rjl493456442) degrade the log level before merging.
|
|
||||||
// It should never happen in ethereum.
|
// It should never happen in ethereum.
|
||||||
if _, ok := resumed[hash]; !ok {
|
if _, ok := resumed[hash]; !ok {
|
||||||
log.Error("Aborting suspended storage retrieval", "account", hash)
|
log.Error("Aborting suspended storage retrieval", "account", hash)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue