mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-12 01:41:36 +00:00
add comment
This commit is contained in:
parent
fe799fa653
commit
06a96190b4
1 changed files with 2 additions and 0 deletions
|
|
@ -45,6 +45,8 @@ 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).
|
||||
Code *[]byte `json:"code,omitempty"`
|
||||
CodeHash *common.Hash `json:"codeHash,omitempty"`
|
||||
Nonce uint64 `json:"nonce,omitempty"`
|
||||
|
|
|
|||
Loading…
Reference in a new issue