From fe1b1180f41a0bccdafb1822ff4facf60ced3690 Mon Sep 17 00:00:00 2001 From: Sina Mahmoodi Date: Wed, 8 Apr 2026 14:35:03 +0000 Subject: [PATCH] lint --- eth/tracers/native/prestate.go | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/eth/tracers/native/prestate.go b/eth/tracers/native/prestate.go index b3d3bb7b96..36cb16e44b 100644 --- a/eth/tracers/native/prestate.go +++ b/eth/tracers/native/prestate.go @@ -44,14 +44,15 @@ func init() { type stateMap = map[common.Address]*account type account struct { - Balance *big.Int `json:"balance,omitempty"` - // Pointer so omitempty can omit unchanged code (nil) while still - // emitting "0x" when code is cleared (e.g. EIP-7702 deauthorization). + Balance *big.Int `json:"balance,omitempty"` + // Code is a pointer so omitempty can omit unchanged code (nil) while + // still emitting "0x" when code is cleared (e.g. EIP-7702 deauth). Code *[]byte `json:"code,omitempty"` CodeHash *common.Hash `json:"codeHash,omitempty"` Nonce uint64 `json:"nonce,omitempty"` Storage map[common.Hash]common.Hash `json:"storage,omitempty"` - empty bool + + empty bool } func (a *account) exists() bool {