Skip to content

Commit

Permalink
feat: presentation created, hardcoded logic waiting for new anoncreds…
Browse files Browse the repository at this point in the history
… wrapper version
  • Loading branch information
cristianIOHK committed Dec 14, 2023
1 parent 1a5444d commit 969d4b3
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 @@ -195,7 +195,7 @@ class PolluxImpl(

val requestedAttributes = listOf(
RequestedAttribute(
referent = "name",
referent = "attribute_1",
revealed = true
)
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -939,8 +939,8 @@ class PrismAgent {
throw PrismAgentError.InvalidCredentialFormatError(CredentialType.ANONCREDS_PROOF_REQUEST)
}
val linkSecret = getLinkSecret()
pollux.createVerifiablePresentationAnoncred(request, credential as AnonCredential, linkSecret)
presentationString = ""
val presentation = pollux.createVerifiablePresentationAnoncred(request, credential as AnonCredential, linkSecret)
presentationString = presentation.getJson()
}

else -> {
Expand Down

0 comments on commit 969d4b3

Please sign in to comment.