forked from cerc-io/plugeth
eth/catalyst: remove variable in tx conversion loop (#29076)
This commit is contained in:
parent
821d70240d
commit
c1f59b98f6
@ -879,8 +879,7 @@ func getBody(block *types.Block) *engine.ExecutionPayloadBodyV1 {
|
||||
)
|
||||
|
||||
for j, tx := range body.Transactions {
|
||||
data, _ := tx.MarshalBinary()
|
||||
txs[j] = hexutil.Bytes(data)
|
||||
txs[j], _ = tx.MarshalBinary()
|
||||
}
|
||||
|
||||
// Post-shanghai withdrawals MUST be set to empty slice instead of nil
|
||||
|
Loading…
Reference in New Issue
Block a user