File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -157,7 +157,7 @@ pub struct BuilderConfig {
157157
158158 /// Number of seconds before the end of the slot to stop querying for new blocks
159159 #[ from_env(
160- var ="BLOCK_QUERY_CUTOFF_SECS" ,
160+ var = "BLOCK_QUERY_CUTOFF_SECS" ,
161161 desc = "Number of seconds before the end of the slot to stop querying for new blocks" ,
162162 default = 2
163163 ) ]
Original file line number Diff line number Diff line change @@ -253,7 +253,8 @@ impl Simulator {
253253 // We have the timepoint in seconds into the slot. To find out what's
254254 // remaining, we need to subtract it from the slot duration
255255 // we also subtract 3 seconds to account for the sequencer stopping signing.
256- let remaining = ( self . slot_calculator ( ) . slot_duration ( ) - timepoint) . saturating_sub ( self . config . block_query_cutoff_secs ) ;
256+ let remaining = ( self . slot_calculator ( ) . slot_duration ( ) - timepoint)
257+ . saturating_sub ( self . config . block_query_cutoff_secs ) ;
257258
258259 let deadline = Instant :: now ( ) + Duration :: from_secs ( remaining) ;
259260 deadline. max ( Instant :: now ( ) )
You can’t perform that action at this time.
0 commit comments