diff --git a/core/state/journal.go b/core/state/journal.go index 939e66afa7..9b2977b593 100644 --- a/core/state/journal.go +++ b/core/state/journal.go @@ -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 {