mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 07:06:42 +00:00
downgrade from error to warn
This commit is contained in:
parent
a82303f4e3
commit
0ff5f658fd
1 changed files with 2 additions and 2 deletions
|
|
@ -328,11 +328,11 @@ func (s *stateObject) updateTrie() (Trie, error) {
|
||||||
// Skip noop changes, persist actual changes
|
// Skip noop changes, persist actual changes
|
||||||
value, exist := s.pendingStorage[key]
|
value, exist := s.pendingStorage[key]
|
||||||
if value == origin {
|
if value == origin {
|
||||||
log.Error("Storage update was noop", "address", s.address, "slot", key)
|
log.Warn("Storage update was noop", "address", s.address, "slot", key)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
if !exist {
|
if !exist {
|
||||||
log.Error("Storage slot is not found in pending area", s.address, "slot", key)
|
log.Warn("Storage slot is not found in pending area", s.address, "slot", key)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
if (value != common.Hash{}) {
|
if (value != common.Hash{}) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue