mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-11 17:31:35 +00:00
eth/catalyst: remove variable in tx conversion loop (#29076)
This commit is contained in:
parent
821d70240d
commit
c1f59b98f6
1 changed files with 1 additions and 2 deletions
|
|
@ -879,8 +879,7 @@ func getBody(block *types.Block) *engine.ExecutionPayloadBodyV1 {
|
||||||
)
|
)
|
||||||
|
|
||||||
for j, tx := range body.Transactions {
|
for j, tx := range body.Transactions {
|
||||||
data, _ := tx.MarshalBinary()
|
txs[j], _ = tx.MarshalBinary()
|
||||||
txs[j] = hexutil.Bytes(data)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Post-shanghai withdrawals MUST be set to empty slice instead of nil
|
// Post-shanghai withdrawals MUST be set to empty slice instead of nil
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue