File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -147,12 +147,23 @@ fn build_flashblocks_pipeline(
147147 // in limits
148148 let max_flashblocks = Arc :: new ( AtomicU64 :: new ( 0 ) ) ;
149149
150- let flashblock_building_pipeline = (
150+ let flashblock_building_pipeline_steps = (
151151 AppendOrders :: from_pool ( pool) . with_ok_on_limit ( ) ,
152152 OrderByPriorityFee :: default ( ) ,
153153 RemoveRevertedTransactions :: default ( ) ,
154154 BreakAfterDeadline ,
155155 )
156+ . into_pipeline ( ) ;
157+
158+ let flashblock_building_pipeline_steps =
159+ if let Some ( ref signer) = cli_args. builder_signer {
160+ flashblock_building_pipeline_steps
161+ . with_step ( BuilderEpilogue :: with_signer ( signer. clone ( ) . into ( ) ) )
162+ } else {
163+ flashblock_building_pipeline_steps
164+ } ;
165+
166+ let flashblock_building_pipeline = flashblock_building_pipeline_steps
156167 . with_epilogue ( PublishFlashblock :: new (
157168 & ws,
158169 cli_args. flashblocks_args . calculate_state_root ,
You can’t perform that action at this time.
0 commit comments