Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions crates/cli/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ impl Config {
Ok(())
}

fn veryfying_key_consistent_check(
fn verifying_key_consistent_check(
&self,
verifying_key: &[u8],
expected_md5: &str,
Expand Down Expand Up @@ -535,19 +535,19 @@ impl Config {

#[cfg(feature = "continuation")]
if proofs.peek().is_none() {
self.veryfying_key_consistent_check(
self.verifying_key_consistent_check(
&buf,
&self.circuit_datas.finalized_circuit.verifying_key_md5,
)?;
} else {
self.veryfying_key_consistent_check(
self.verifying_key_consistent_check(
&buf,
&self.circuit_datas.on_going_circuit.verifying_key_md5,
)?;
}

#[cfg(not(feature = "continuation"))]
self.veryfying_key_consistent_check(
self.verifying_key_consistent_check(
&buf,
&self.circuit_datas.finalized_circuit.verifying_key_md5,
)?;
Expand Down
2 changes: 1 addition & 1 deletion crates/cli/src/names.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ pub(crate) fn name_of_circuit_data(name: &str, is_last_circuit: bool) -> String
}
}

// FIXME: adapt batcher crate, however the crate should provice this function
// FIXME: adapt batcher crate, however the crate should provide this function
#[inline(always)]
pub(crate) fn name_of_loadinfo(name: &str) -> String {
format!("{}.loadinfo.json", name)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ impl Checkpoint {
// return value:
// Ordering::Greater: at least one of transaction is overflow
// Ordering::Equal: all transactions are full
// Ordering::Less : no transaction overflow and at least one of transacion is not full
// Ordering::Less : no transaction overflow and at least one of transaction is not full
fn transactions_group_number_ordering(
&self,
applied_transactions_group_number: &HashMap<TransactionId, usize>,
Expand Down