diff --git a/core/state/journal.go b/core/state/journal.go
index <HASH>..<HASH> 100644
--- a/core/state/journal.go
+++ b/core/state/journal.go
@@ -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) {
core/state: revert log index when removing logs