fix code_hash json annotation (#64)

This commit is contained in:
HAOYUatHZ 2022-03-31 15:08:04 +08:00 committed by GitHub
parent fccb5bf6ec
commit a96775b3ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -60,7 +60,7 @@ type AccountProofWrapper struct {
Address common.Address `json:"address,omitempty"`
Nonce uint64 `json:"nonce,omitempty"`
Balance *big.Int `json:"balance,omitempty"`
CodeHash common.Hash `json:"code_hash,omitempty"`
CodeHash common.Hash `json:"codeHash,omitempty"`
Proof []string `json:"proof,omitempty"`
Storage *StorageProofWrapper `json:"storage,omitempty"` // StorageProofWrapper can be empty if irrelated to storage operation
}