Commit a0d78309 authored by Felix Lange's avatar Felix Lange

core/state: revert log index when removing logs

parent a92d8a26
...@@ -132,6 +132,7 @@ func (ch addLogChange) undo(s *StateDB) { ...@@ -132,6 +132,7 @@ func (ch addLogChange) undo(s *StateDB) {
} else { } else {
s.logs[ch.txhash] = logs[:len(logs)-1] s.logs[ch.txhash] = logs[:len(logs)-1]
} }
s.logSize--
} }
func (ch addPreimageChange) undo(s *StateDB) { func (ch addPreimageChange) undo(s *StateDB) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment