From 425faae8f7f02269c94d89f02f2a61c19821a40d Mon Sep 17 00:00:00 2001 From: jstr1121 Date: Sat, 7 Oct 2023 00:52:37 +0800 Subject: [PATCH] fix contracts json tag --- internal/ethapi/api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/ethapi/api.go b/internal/ethapi/api.go index 6f8a817533..33917ef0ec 100644 --- a/internal/ethapi/api.go +++ b/internal/ethapi/api.go @@ -936,7 +936,7 @@ func (s *BlockChainAPI) GetBlockReceipts(ctx context.Context, blockNrOrHash rpc. type RequiredBlockState struct { CompactEip1186Proofs []CompactEip1186Proof `json:"compact_eip1186_proofs"` // sorted by address - Contracts []Contract `json:"sorted"` // sorted by address + Contracts []Contract `json:"contracts"` // sorted by address AccountNodes []TrieNode `json:"account_nodes"` // sorted by address StorageNodes []TrieNode `json:"storage_nodes"` // sorted by address BlockHashes []RecentBlockHash `json:"block_hashes"` // sorted by address