mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 02:42:27 +00:00
core/state: fix journal
This commit is contained in:
parent
c3b8364e60
commit
5327012be6
1 changed files with 2 additions and 2 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue