mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-17 17:33:47 +00:00
warning to debug
This commit is contained in:
parent
3300dc1a20
commit
0141d5da5f
1 changed files with 2 additions and 2 deletions
|
|
@ -277,12 +277,12 @@ func ServiceGetAccountRangeQuery(chain *core.BlockChain, req *GetAccountRangePac
|
|||
// Retrieve the requested state and bail out if non existent
|
||||
tr, err := trie.New(trie.StateTrieID(req.Root), chain.TrieDB())
|
||||
if err != nil {
|
||||
log.Warn("Failed to open account trie", "root", req.Root, "err", err)
|
||||
log.Debug("Failed to open account trie", "root", req.Root, "err", err)
|
||||
return nil, nil
|
||||
}
|
||||
it, err := chain.Snapshots().AccountIterator(req.Root, req.Origin)
|
||||
if err != nil {
|
||||
log.Warn("Failed to open account iterator", "root", req.Root, "origin", req.Origin, "err", err)
|
||||
log.Debug("Failed to create account iterator", "root", req.Root, "origin", req.Origin, "err", err)
|
||||
return nil, nil
|
||||
}
|
||||
// Iterate over the requested range and pile accounts up
|
||||
|
|
|
|||
Loading…
Reference in a new issue