From e102c002d98b8cb5b4b0e4e529b00992a438b37e Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Wed, 13 Mar 2024 23:55:36 +0100 Subject: [PATCH] beacon/light/api: remove redundant struct tag --- beacon/light/api/light_api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beacon/light/api/light_api.go b/beacon/light/api/light_api.go index 4dde2e9f6b..aaa8a81d28 100755 --- a/beacon/light/api/light_api.go +++ b/beacon/light/api/light_api.go @@ -377,7 +377,7 @@ func (api *BeaconLightApi) GetBeaconBlock(blockRoot common.Hash) (*types.BeaconB Version string Data struct { Message json.RawMessage `json:"message"` - } `json:"data"` + } } if err := json.Unmarshal(resp, &beaconBlockMessage); err != nil { return nil, fmt.Errorf("invalid block json data: %v", err)