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

core/state: revert log index when removing logs
This commit is contained in:
Péter Szilágyi 2017-09-26 17:11:46 +03:00 committed by GitHub
commit 229bf51f0d
1 changed files with 1 additions and 0 deletions

View File

@ -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) {