Skip to content

Commit

Permalink
core/state: fix journal
Browse files Browse the repository at this point in the history
  • Loading branch information
rjl493456442 committed Apr 15, 2024
1 parent b20aeb5 commit bf2597d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/state/journal.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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 {
Expand Down

0 comments on commit bf2597d

Please sign in to comment.