mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-24 16:59:26 +00:00
beacon/engine: use HexBigInt
This commit is contained in:
parent
727816ce00
commit
5edb154064
1 changed files with 1 additions and 2 deletions
|
|
@ -20,7 +20,6 @@ import (
|
|||
"encoding/json"
|
||||
"errors"
|
||||
|
||||
"github.com/ethereum/go-ethereum/common/hexutil"
|
||||
jsonw "github.com/fjl/jsonw"
|
||||
)
|
||||
|
||||
|
|
@ -66,7 +65,7 @@ func (e ExecutionPayloadEnvelope) MarshalJSON() ([]byte, error) {
|
|||
b.Key("executionPayload")
|
||||
b.RawValue(payload)
|
||||
b.Key("blockValue")
|
||||
b.MustValue((*hexutil.Big)(e.BlockValue))
|
||||
b.HexBigInt(e.BlockValue)
|
||||
b.Key("blobsBundle")
|
||||
marshalBlobsBundle(&b, e.BlobsBundle)
|
||||
b.Key("executionRequests")
|
||||
|
|
|
|||
Loading…
Reference in a new issue