diff --git a/src/services/issuer.rs b/src/services/issuer.rs index f4aa8691..a7cdacd6 100644 --- a/src/services/issuer.rs +++ b/src/services/issuer.rs @@ -245,7 +245,7 @@ where ))?; // NOTE: registry is created with issuance_by_default: false and it is not used. - // The accum value in the registy is derived from issuance by default: false in `create_revocation_status_list` + // The accum value in the registry is derived from issuance by default: false in `create_revocation_status_list` let (revoc_key_pub, revoc_key_priv, _, mut rev_tails_generator) = Issuer::new_revocation_registry_def(&credential_pub_key, max_cred_num, false)?; diff --git a/src/services/verifier.rs b/src/services/verifier.rs index f1b31c76..12c0b430 100644 --- a/src/services/verifier.rs +++ b/src/services/verifier.rs @@ -145,9 +145,9 @@ pub fn verify_presentation( let (predicates_for_credential, pred_nonrevoked_interval) = get_predicates_for_credential(sub_proof_index, &presentation.requested_proof, pres_req); - // Collaspe to the most stringent local interval for the attributes / predicates, + // Collapse to the most stringent local interval for the attributes / predicates, // we can do this because there is only 1 revocation status list for this credential - // if it satsifies the most stringent interval, it will satisfy all intervals + // if it satisfies the most stringent interval, it will satisfy all intervals let mut cred_nonrevoked_interval: Option = match (attrs_nonrevoked_interval, pred_nonrevoked_interval) { (Some(attr), None) => Some(attr), diff --git a/tests/utils/fixtures.rs b/tests/utils/fixtures.rs index 223b9acf..b7a56465 100644 --- a/tests/utils/fixtures.rs +++ b/tests/utils/fixtures.rs @@ -16,7 +16,7 @@ use anoncreds::{ use super::storage::ProverWallet; -// Goverment credential related fixtures +// Government credential related fixtures pub const GVT_SCHEMA_NAME: &str = "Government Schema"; pub const GVT_SCHEMA_ID: &str = "schema:government"; pub const GVT_SCHEMA_VERSION: &str = "1.0";