Skip to content

Commit

Permalink
Fix bbs tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
timothee-haudebourg committed Dec 20, 2024
1 parent 7550fd2 commit 5e148e7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,10 +130,10 @@ where
let new_proof = Proof {
context: base_proof.context.cloned(),
type_: Bbs2023,
created: base_proof.created,
created: base_proof.created.cloned(),
verification_method: base_proof.verification_method.cloned(),
proof_purpose: base_proof.proof_purpose,
expires: base_proof.expires,
expires: base_proof.expires.cloned(),
domains: base_proof.domains.to_vec(),
challenge: base_proof.challenge.map(ToOwned::to_owned),
nonce: base_proof.nonce.map(ToOwned::to_owned),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ _:b5 <https://windsurf.grotto-networking.com/selective#year> \"2023\"^^<http://w
];
let proof_configuration = ProofConfiguration::new(
Bbs2023,
xsd_types::DateTimeStamp::now_ms(),
xsd_types::DateTimeStamp::now_ms().into(),
ReferenceOrOwned::Reference("did:method:test".parse().unwrap()),
ProofPurpose::Assertion,
(),
Expand Down

0 comments on commit 5e148e7

Please sign in to comment.