File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ impl Config {
5252 last_processed_block : u64 ,
5353 ) -> Result < ( ) , Box < dyn std:: error:: Error > > {
5454 let last_processed_block_struct = LastProcessedBlock {
55- last_processed_block : last_processed_block ,
55+ last_processed_block,
5656 } ;
5757
5858 let mut file = OpenOptions :: new ( )
Original file line number Diff line number Diff line change @@ -23,9 +23,9 @@ async fn main() {
2323 // load config
2424 let config_file_path = read_config_filepath_from_args ( ) ;
2525 tracing:: info!( "Loading config from {}..." , config_file_path) ;
26- let mut config = Config :: from_file ( & config_file_path) . expect ( "Config is valid" ) ;
26+ let config = Config :: from_file ( & config_file_path) . expect ( "Config is valid" ) ;
2727 tracing:: info!( "Config loaded" ) ;
2828
2929 let mut proof_aggregator = ProofAggregator :: new ( & config) ;
30- proof_aggregator. start ( & mut config) . await ;
30+ proof_aggregator. start ( & config) . await ;
3131}
You can’t perform that action at this time.
0 commit comments