Skip to content

Commit 325b36f

Browse files
Update eth/tracers/native/prestate.go
Co-authored-by: Diego Ximenes Mendes <[email protected]>
1 parent 32a724a commit 325b36f

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

eth/tracers/native/prestate.go

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -214,10 +214,8 @@ func (t *prestateTracer) processDiffState() {
214214
continue
215215
}
216216
modified := false
217-
postAccount := &account{
218-
Storage: make(map[common.Hash]common.Hash),
219-
ArbitrumStorage: make(map[common.Hash]common.Hash),
220-
}
217+
postAccount := &account{Storage: make(map[common.Hash]common.Hash)}
218+
postAccount.ArbitrumStorage = make(map[common.Hash]common.Hash)
221219
newBalance := t.env.StateDB.GetBalance(addr).ToBig()
222220
newNonce := t.env.StateDB.GetNonce(addr)
223221
newCode := t.env.StateDB.GetCode(addr)

0 commit comments

Comments
 (0)