diff --git a/src/core/presentation_submission.rs b/src/core/presentation_submission.rs index b2329c8..73a87c5 100644 --- a/src/core/presentation_submission.rs +++ b/src/core/presentation_submission.rs @@ -154,7 +154,8 @@ impl MatchingInputs<'_, T> { for d in definition.input_descriptors() { if self .by_descriptor - .get(d.id.as_str()).is_none_or(|i| i.is_empty()) + .get(d.id.as_str()) + .is_none_or(|i| i.is_empty()) { return Err(SubmissionValidationError::MissingRequiredInput( d.id.clone(), diff --git a/tests/jwt_vp.rs b/tests/jwt_vp.rs index 959cfcd..ec4df22 100644 --- a/tests/jwt_vp.rs +++ b/tests/jwt_vp.rs @@ -53,12 +53,7 @@ pub async fn create_test_verifiable_presentation() -> Result