Skip to content

Commit

Permalink
fix: add a comment to the expiryInstant
Browse files Browse the repository at this point in the history
  • Loading branch information
mustafasalfiti committed Jan 16, 2024
1 parent 0092728 commit 21ac648
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ private static VerifiableCredential createVerifiableCredential(DidDocument issue
}

// check if the expiryDate is set
// if its null then it will be ignored from the SSI Lib (VerifiableCredentialBuilder) and will not be added to the VC
Instant expiryInstant = null;
if (expiryDate != null) {
expiryInstant = expiryDate.toInstant();
Expand Down

0 comments on commit 21ac648

Please sign in to comment.