core/state: revert log index when removing logs

This commit is contained in:
Felix Lange committed 2017-09-21 20:46:21 +02:00
1 parent a92d8a2654
commit a0d783094e
1 file changed
+1
+1
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) {