Skip to content

Commit ff99699

Browse files
committed
internal/ethapi: remove requests
1 parent eb5aaa2 commit ff99699

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

internal/ethapi/api.go

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1436,14 +1436,6 @@ func RPCMarshalBlock(block *types.Block, inclTx bool, fullTx bool, config *param
14361436
if block.Withdrawals() != nil {
14371437
fields["withdrawals"] = block.Withdrawals()
14381438
}
1439-
if block.Requests() != nil {
1440-
// Convert requests to hex.
1441-
hexreq := make([]hexutil.Bytes, len(block.Requests()))
1442-
for i, req := range block.Requests() {
1443-
hexreq[i] = req
1444-
}
1445-
fields["requests"] = hexreq
1446-
}
14471439
return fields
14481440
}
14491441

0 commit comments

Comments
 (0)