diff --git a/backend/canisters/local_user_index/impl/src/lib.rs b/backend/canisters/local_user_index/impl/src/lib.rs index 87f2b197fb..d83b5cb265 100644 --- a/backend/canisters/local_user_index/impl/src/lib.rs +++ b/backend/canisters/local_user_index/impl/src/lib.rs @@ -66,7 +66,7 @@ impl RuntimeState { user_details.unique_person_proof = credential_jwts.as_ref().and_then(|jwts| { let now = self.env.now(); self.data - .extract_proof_of_unique_personhood(user_details.principal, &jwts, now) + .extract_proof_of_unique_personhood(user_details.principal, jwts, now) }); } diff --git a/backend/libraries/proof_of_unique_personhood/src/lib.rs b/backend/libraries/proof_of_unique_personhood/src/lib.rs index 8c37452649..f9310ad135 100644 --- a/backend/libraries/proof_of_unique_personhood/src/lib.rs +++ b/backend/libraries/proof_of_unique_personhood/src/lib.rs @@ -15,7 +15,7 @@ pub fn verify_proof_of_unique_personhood( now: TimestampMillis, ) -> Result { match ic_verifiable_credentials::validate_ii_presentation_and_claims( - &credential_jwt, + credential_jwt, principal, &VcFlowSigners { ii_canister_id: internet_identity_canister_id,