Skip to content

Commit 571e744

Browse files
authored
chore: FlashblocksJobGeneratorConfig dead code (#426)
1 parent a9f6266 commit 571e744

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

crates/flashblocks/payload/src/generator.rs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -421,8 +421,6 @@ pub struct FlashblocksJobGeneratorConfig {
421421
///
422422
/// By default this is [`SLOT_DURATION`]: 12s
423423
deadline: Duration,
424-
/// Whether to enable Authorization's for payloads.
425-
enable_authorization: bool,
426424
}
427425

428426
// === impl Flashblocks ===
@@ -440,12 +438,6 @@ impl FlashblocksJobGeneratorConfig {
440438
self
441439
}
442440

443-
/// Sets the flag to enable or disable Authorization's for payloads.
444-
pub const fn authorization(mut self, enable: bool) -> Self {
445-
self.enable_authorization = enable;
446-
self
447-
}
448-
449441
/// Sets the recommitment interval at which the job should re-commit to the transaction pool.
450442
pub const fn recommitment_interval(mut self, interval: Duration) -> Self {
451443
self.recommitment_interval = interval;
@@ -465,7 +457,6 @@ impl Default for FlashblocksJobGeneratorConfig {
465457
interval: Duration::from_millis(200),
466458
recommitment_interval: Duration::from_millis(50),
467459
deadline: Duration::from_secs(2),
468-
enable_authorization: true,
469460
max_payload_tasks: 4,
470461
}
471462
}

0 commit comments

Comments
 (0)