Skip to content

Commit 3736efc

Browse files
cuiweixiejorgemmsilva
authored andcommitted
eth/catalyst: remove variable in tx conversion loop (ethereum#29076)
1 parent d0db4cd commit 3736efc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

eth/catalyst/api.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -879,8 +879,7 @@ func getBody(block *types.Block) *engine.ExecutionPayloadBodyV1 {
879879
)
880880

881881
for j, tx := range body.Transactions {
882-
data, _ := tx.MarshalBinary()
883-
txs[j] = hexutil.Bytes(data)
882+
txs[j], _ = tx.MarshalBinary()
884883
}
885884

886885
// Post-shanghai withdrawals MUST be set to empty slice instead of nil

0 commit comments

Comments
 (0)