mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-19 05:11:37 +00:00
internal: add balHash
This commit is contained in:
parent
bcb0efd756
commit
b3e4cae70f
1 changed files with 3 additions and 0 deletions
|
|
@ -990,6 +990,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