Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gmulhearn-anonyome committed Nov 29, 2022
1 parent 297b647 commit 3082c4d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions aries_vcx/src/indy/proofs/verifier/verifier.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use vdrtools::{Locator};
use vdrtools::Locator;

use crate::error::VcxResult;
use crate::{error::VcxResult, utils::parse_and_validate};

pub async fn libindy_verifier_verify_proof(
proof_req_json: &str,
Expand All @@ -14,8 +14,8 @@ pub async fn libindy_verifier_verify_proof(
let res = Locator::instance()
.verifier_controller
.verify_proof(
serde_json::from_str(proof_req_json)?,
serde_json::from_str(proof_json)?,
parse_and_validate(proof_req_json)?,
parse_and_validate(proof_json)?,
serde_json::from_str(schemas_json)?,
serde_json::from_str(credential_defs_json)?,
serde_json::from_str(rev_reg_defs_json)?,
Expand Down

0 comments on commit 3082c4d

Please sign in to comment.