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

pull/29091/head
cui 9 months ago committed by GitHub
parent 821d70240d
commit c1f59b98f6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 3
      eth/catalyst/api.go

@ -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…
Cancel
Save