core/state: revert log index when removing logs

release/1.7
Felix Lange 7 years ago
parent a92d8a2654
commit a0d783094e
  1. 1
      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) {

Loading…
Cancel
Save