Commit 229bf51f authored by Péter Szilágyi's avatar Péter Szilágyi Committed by GitHub

Merge pull request #15181 from fjl/state-revert-log-index

core/state: revert log index when removing logs
parents 2ee88595 a0d78309
...@@ -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