mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-15 19:02:42 +00:00
Use max request payloads
This commit is contained in:
@@ -530,7 +530,7 @@ impl PayloadEnvelopesByRootRequest {
|
||||
) -> Result<Self, String> {
|
||||
let max_requests_envelopes = fork_context
|
||||
.spec
|
||||
.max_request_blocks(fork_context.current_fork_name());
|
||||
.max_request_payloads(fork_context.current_fork_name());
|
||||
|
||||
let beacon_block_roots =
|
||||
RuntimeVariableList::new(beacon_block_roots, max_requests_envelopes).map_err(|e| {
|
||||
|
||||
Reference in New Issue
Block a user