File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed
aggregation_mode/src/backend Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -196,8 +196,7 @@ impl ProofsFetcher {
196196 match self . rpc_provider . get_gas_price ( ) . await {
197197 Ok ( price) => Ok ( price) ,
198198 Err ( e1) => Err ( ProofsFetcherError :: GasPriceError ( format ! (
199- "gas price error: {:?}" ,
200- e1
199+ "gas price error: {e1}"
201200 ) ) ) ,
202201 }
203202 }
Original file line number Diff line number Diff line change @@ -152,11 +152,7 @@ impl ProofAggregator {
152152 let time_elapsed: Duration =
153153 Instant :: now ( ) . duration_since ( start_time) + Duration :: from_secs ( 24 * 3600 ) ;
154154
155- let gas_price = self
156- . fetcher
157- . get_gas_price ( )
158- . await
159- . map_err ( |err| FetchingProofs ( err) ) ?;
155+ let gas_price = self . fetcher . get_gas_price ( ) . await . map_err ( FetchingProofs ) ?;
160156
161157 if self . should_send_proof_to_verify_on_chain (
162158 time_elapsed,
You can’t perform that action at this time.
0 commit comments