mirror of
https://gitlab.com/pulsechaincom/go-pulse.git
synced 2025-01-11 13:10:04 +00:00
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