Skip to content

Commit 3a9044b

Browse files
committed
fix typo
1 parent 8d78dc2 commit 3a9044b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

crates/libzkp/src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ pub fn gen_universal_task(
5959
let (pi_hash, metadata, u_task) = utils::panic_catch(move || {
6060
gen_universal_chunk_task(task, fork_name_str.into(), interpreter)
6161
})
62-
.map_err(|e| eyre::eyre!("catched panic in chunk task{e}"))??;
62+
.map_err(|e| eyre::eyre!("caught panic in chunk task{e}"))??;
6363
(pi_hash, AnyMetaData::Chunk(metadata), u_task)
6464
}
6565
x if x == TaskType::Batch as i32 => {
@@ -70,7 +70,7 @@ pub fn gen_universal_task(
7070
}
7171
let (pi_hash, metadata, u_task) =
7272
utils::panic_catch(move || gen_universal_batch_task(task, fork_name_str.into()))
73-
.map_err(|e| eyre::eyre!("catched panic in chunk task{e}"))??;
73+
.map_err(|e| eyre::eyre!("caught panic in chunk task{e}"))??;
7474
(pi_hash, AnyMetaData::Batch(metadata), u_task)
7575
}
7676
x if x == TaskType::Bundle as i32 => {
@@ -81,7 +81,7 @@ pub fn gen_universal_task(
8181
}
8282
let (pi_hash, metadata, u_task) =
8383
utils::panic_catch(move || gen_universal_bundle_task(task, fork_name_str.into()))
84-
.map_err(|e| eyre::eyre!("catched panic in chunk task{e}"))??;
84+
.map_err(|e| eyre::eyre!("caught panic in chunk task{e}"))??;
8585
(pi_hash, AnyMetaData::Bundle(metadata), u_task)
8686
}
8787
_ => return Err(eyre::eyre!("unrecognized task type {task_type}")),

0 commit comments

Comments
 (0)