mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-24 08:49:29 +00:00
beacon/engine: simplify requests
This commit is contained in:
parent
3939e4c8f0
commit
cd2dbd4d13
1 changed files with 1 additions and 5 deletions
|
|
@ -73,11 +73,7 @@ func (e ExecutionPayloadEnvelope) MarshalJSON() ([]byte, error) {
|
|||
if e.Requests == nil {
|
||||
b.Null()
|
||||
} else {
|
||||
b.Array(func() {
|
||||
for _, r := range e.Requests {
|
||||
b.HexBytes(r)
|
||||
}
|
||||
})
|
||||
appendHexBytesArray(&b, e.Requests)
|
||||
}
|
||||
b.Key("shouldOverrideBuilder")
|
||||
b.Bool(e.Override)
|
||||
|
|
|
|||
Loading…
Reference in a new issue