core/state: fix journal

This commit is contained in:
Gary Rong 2024-04-15 16:47:17 +08:00 committed by Martin Holst Swende
parent c3b8364e60
commit 5327012be6
No known key found for this signature in database
GPG key ID: 683B438C05A5DDF0

View file

@ -172,7 +172,7 @@ func (ch createObjectChange) revert(s *StateDB) {
}
func (ch createObjectChange) dirtied() *common.Address {
return nil
return ch.account
}
func (ch createObjectChange) copy() journalEntry {
@ -186,7 +186,7 @@ func (ch createContractChange) revert(s *StateDB) {
}
func (ch createContractChange) dirtied() *common.Address {
return &ch.account
return nil
}
func (ch createContractChange) copy() journalEntry {