Skip to content

Commit ec97096

Browse files
committed
fix: uuid import
1 parent dcb3d2d commit ec97096

File tree

1 file changed

+2
-1
lines changed
  • aggregation_mode/proof_aggregator/src/backend

1 file changed

+2
-1
lines changed

aggregation_mode/proof_aggregator/src/backend/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ use config::Config;
2323
use fetcher::{ProofsFetcher, ProofsFetcherError};
2424
use merkle_tree::compute_proofs_merkle_root;
2525
use risc0_ethereum_contracts::encode_seal;
26+
use sqlx::types::Uuid;
2627
use std::thread::sleep;
2728
use std::{str::FromStr, time::Duration};
2829
use 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;

0 commit comments

Comments
 (0)