Skip to content

Commit

Permalink
internal/ethapi: remove requests
Browse files Browse the repository at this point in the history
  • Loading branch information
fjl committed Sep 30, 2024
1 parent eb5aaa2 commit ff99699
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions internal/ethapi/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -1436,14 +1436,6 @@ func RPCMarshalBlock(block *types.Block, inclTx bool, fullTx bool, config *param
if block.Withdrawals() != nil {
fields["withdrawals"] = block.Withdrawals()
}
if block.Requests() != nil {
// Convert requests to hex.
hexreq := make([]hexutil.Bytes, len(block.Requests()))
for i, req := range block.Requests() {
hexreq[i] = req
}
fields["requests"] = hexreq
}
return fields
}

Expand Down

0 comments on commit ff99699

Please sign in to comment.