mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-08 07:58:40 +00:00
fix linter
This commit is contained in:
parent
6c05fd8660
commit
e32a3e24b9
1 changed files with 2 additions and 0 deletions
|
|
@ -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)}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue