forked from cerc-io/plugeth
core/state: revert log index when removing logs
This commit is contained in:
parent
a92d8a2654
commit
a0d783094e
@ -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…
Reference in New Issue
Block a user