fix linter

This commit is contained in:
Guillaume Ballet 2026-04-28 15:42:19 +02:00
parent 6c05fd8660
commit e32a3e24b9
No known key found for this signature in database

View file

@ -24,9 +24,11 @@ import (
// Recorder maintains the inverse of the binary-trie key transform: it captures // Recorder maintains the inverse of the binary-trie key transform: it captures
// every mutation applied to a BinaryTrie keyed by the original address (and, // every mutation applied to a BinaryTrie keyed by the original address (and,
// for storage, the original slot key) so the post-state can be rendered as a // for storage, the original slot key) so the post-state can be rendered as a
// types.GenesisAlloc.
type Recorder struct { type Recorder struct {
accounts map[common.Address]*types.Account accounts map[common.Address]*types.Account
} }
// NewRecorder returns an empty Recorder. // NewRecorder returns an empty Recorder.
func NewRecorder() *Recorder { func NewRecorder() *Recorder {
return &Recorder{accounts: make(map[common.Address]*types.Account)} return &Recorder{accounts: make(map[common.Address]*types.Account)}