Skip to content

Commit

Permalink
log setcode
Browse files Browse the repository at this point in the history
  • Loading branch information
sunny2022da committed Sep 29, 2024
1 parent ba207bc commit 789ab40
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/state/parallel_statedb.go
Original file line number Diff line number Diff line change
Expand Up @@ -618,6 +618,7 @@ func (s *ParallelStateDB) GetCode(addr common.Address) []byte {
}
// fixup dirties
if dirtyObj != nil && !bytes.Equal(dirtyObj.code, code) {
log.Debug("fix up code", "addr", addr, "dirty", dirtyObj, "code", code)
dirtyObj.code = code
}
return code
Expand Down

0 comments on commit 789ab40

Please sign in to comment.