mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
miner: assign header fields in usual order
This commit is contained in:
parent
48bebc9b30
commit
0d2ec8e181
1 changed files with 1 additions and 1 deletions
|
|
@ -945,9 +945,9 @@ func (w *worker) prepareWork(genParams *generateParams) (*environment, error) {
|
|||
// For the first post-fork block, both parent.data_gas_used and parent.excess_data_gas are evaluated as 0
|
||||
excessBlobGas = eip4844.CalcExcessBlobGas(0, 0)
|
||||
}
|
||||
header.BlobGasUsed = new(uint64)
|
||||
header.ExcessBlobGas = &excessBlobGas
|
||||
header.BeaconRoot = genParams.beaconRoot
|
||||
header.BlobGasUsed = new(uint64)
|
||||
}
|
||||
// Run the consensus preparation with the default or customized consensus engine.
|
||||
if err := w.engine.Prepare(w.chain, header); err != nil {
|
||||
|
|
|
|||
Loading…
Reference in a new issue