mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
beacon/light/api: remove redundant struct tag
This commit is contained in:
parent
b1ae3691f8
commit
e102c002d9
1 changed files with 1 additions and 1 deletions
|
|
@ -377,7 +377,7 @@ func (api *BeaconLightApi) GetBeaconBlock(blockRoot common.Hash) (*types.BeaconB
|
||||||
Version string
|
Version string
|
||||||
Data struct {
|
Data struct {
|
||||||
Message json.RawMessage `json:"message"`
|
Message json.RawMessage `json:"message"`
|
||||||
} `json:"data"`
|
}
|
||||||
}
|
}
|
||||||
if err := json.Unmarshal(resp, &beaconBlockMessage); err != nil {
|
if err := json.Unmarshal(resp, &beaconBlockMessage); err != nil {
|
||||||
return nil, fmt.Errorf("invalid block json data: %v", err)
|
return nil, fmt.Errorf("invalid block json data: %v", err)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue