mirror of https://github.com/status-im/op-geth.git
Merge pull request #15181 from fjl/state-revert-log-index
core/state: revert log index when removing logs
This commit is contained in:
commit
229bf51f0d
|
@ -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…
Reference in New Issue