File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
aggregation_mode/proof_aggregator/src/backend Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ use config::Config;
2323use fetcher:: { ProofsFetcher , ProofsFetcherError } ;
2424use merkle_tree:: compute_proofs_merkle_root;
2525use risc0_ethereum_contracts:: encode_seal;
26+ use sqlx:: types:: Uuid ;
2627use std:: thread:: sleep;
2728use std:: { str:: FromStr , time:: Duration } ;
2829use tracing:: { error, info, warn} ;
@@ -214,7 +215,7 @@ impl ProofAggregator {
214215
215216 info ! ( "Storing merkle paths for each task..." , ) ;
216217 let mut merkle_paths_for_tasks: Vec < ( Uuid , Vec < u8 > ) > = vec ! [ ] ;
217- for ( idx, task_id) in tasks_id. iter ( ) . enumerate ( ) {
218+ for ( idx, task_id) in tasks_id. into_iter ( ) . enumerate ( ) {
218219 let Some ( proof) = merkle_tree. get_proof_by_pos ( idx) else {
219220 warn ! ( "Proof not found for task id {task_id}" ) ;
220221 continue ;
You can’t perform that action at this time.
0 commit comments