mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
internal/ethapi: return parentBeaconBlockRoot
This commit is contained in:
parent
e923d73276
commit
f1bd467430
1 changed files with 3 additions and 0 deletions
|
|
@ -1345,6 +1345,9 @@ func RPCMarshalHeader(head *types.Header) map[string]interface{} {
|
|||
if head.ExcessBlobGas != nil {
|
||||
result["excessBlobGas"] = hexutil.Uint64(*head.ExcessBlobGas)
|
||||
}
|
||||
if head.BeaconRoot != nil {
|
||||
result["parentBeaconBlockRoot"] = head.BeaconRoot
|
||||
}
|
||||
return result
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue