diff --git a/identity_credential/src/sd_jwt_vc/builder.rs b/identity_credential/src/sd_jwt_vc/builder.rs index 8bef4059c..46b28bc9b 100644 --- a/identity_credential/src/sd_jwt_vc/builder.rs +++ b/identity_credential/src/sd_jwt_vc/builder.rs @@ -364,7 +364,7 @@ mod tests { .subject(Subject::with_id(Url::parse("https://example.com/subjects/42")?)) .build()?; - let sd_jwt_vc = SdJwtVcBuilder::new_from_credential(credential.clone(), Sha256Hasher::default())? + let sd_jwt_vc = SdJwtVcBuilder::new_from_credential(credential.clone(), Sha256Hasher)? .vct(Url::parse("https://example.com/types/0")?) .finish(&TestSigner, "HS256") .await?;