mirror of
https://github.com/status-im/op-geth.git
synced 2025-01-26 22:49:02 +00:00
core/state: revert log index when removing logs
This commit is contained in:
parent
a92d8a2654
commit
a0d783094e
@ -132,6 +132,7 @@ func (ch addLogChange) undo(s *StateDB) {
|
||||
} else {
|
||||
s.logs[ch.txhash] = logs[:len(logs)-1]
|
||||
}
|
||||
s.logSize--
|
||||
}
|
||||
|
||||
func (ch addPreimageChange) undo(s *StateDB) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user