eth/catalyst: remove variable in tx conversion loop (#29076)

This commit is contained in:
cui 2024-02-26 20:22:13 +08:00 committed by GitHub
parent 821d70240d
commit c1f59b98f6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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