mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-16 13:06:40 +00:00
internal/ethapi: add balHash to block results (#34652)
This commit is contained in:
parent
726d657a4a
commit
91f8e7cd9e
1 changed files with 3 additions and 0 deletions
|
|
@ -996,6 +996,9 @@ func RPCMarshalHeader(head *types.Header) map[string]interface{} {
|
||||||
if head.RequestsHash != nil {
|
if head.RequestsHash != nil {
|
||||||
result["requestsHash"] = head.RequestsHash
|
result["requestsHash"] = head.RequestsHash
|
||||||
}
|
}
|
||||||
|
if head.BlockAccessListHash != nil {
|
||||||
|
result["balHash"] = head.BlockAccessListHash
|
||||||
|
}
|
||||||
if head.SlotNumber != nil {
|
if head.SlotNumber != nil {
|
||||||
result["slotNumber"] = hexutil.Uint64(*head.SlotNumber)
|
result["slotNumber"] = hexutil.Uint64(*head.SlotNumber)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue