From 325b36f3c7ff114b1bb0f10f6cd7b83d08e12e52 Mon Sep 17 00:00:00 2001 From: Ganesh Vanahalli Date: Tue, 19 Nov 2024 12:00:37 +0530 Subject: [PATCH] Update eth/tracers/native/prestate.go Co-authored-by: Diego Ximenes Mendes --- eth/tracers/native/prestate.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/eth/tracers/native/prestate.go b/eth/tracers/native/prestate.go index 26821ae75..172592495 100644 --- a/eth/tracers/native/prestate.go +++ b/eth/tracers/native/prestate.go @@ -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)