Skip to content

Commit

Permalink
Update eth/tracers/native/prestate.go
Browse files Browse the repository at this point in the history
Co-authored-by: Diego Ximenes Mendes <[email protected]>
  • Loading branch information
ganeshvanahalli and diegoximenes authored Nov 19, 2024
1 parent 32a724a commit 325b36f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions eth/tracers/native/prestate.go
Original file line number Diff line number Diff line change
Expand Up @@ -214,10 +214,8 @@ func (t *prestateTracer) processDiffState() {
continue
}
modified := false
postAccount := &account{
Storage: make(map[common.Hash]common.Hash),
ArbitrumStorage: make(map[common.Hash]common.Hash),
}
postAccount := &account{Storage: make(map[common.Hash]common.Hash)}
postAccount.ArbitrumStorage = make(map[common.Hash]common.Hash)
newBalance := t.env.StateDB.GetBalance(addr).ToBig()
newNonce := t.env.StateDB.GetNonce(addr)
newCode := t.env.StateDB.GetCode(addr)
Expand Down

0 comments on commit 325b36f

Please sign in to comment.