Skip to content

Commit

Permalink
fix: remove bug for txCode
Browse files Browse the repository at this point in the history
Signed-off-by: Mirko Mollik <[email protected]>
  • Loading branch information
cre8 committed Jul 25, 2024
1 parent 006d953 commit 57ca020
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/issuer/lib/VcIssuer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,6 @@ export class VcIssuer<DIDDoc extends object> {
status,
notification_id: v4(),
...(userPin && { txCode: userPin }), // We used to use userPin according to older specs. We map these onto txCode now. If both are used, txCode in the end wins, even if they are different
...(txCode && { txCode }),
...(opts.credentialDataSupplierInput && { credentialDataSupplierInput: opts.credentialDataSupplierInput }),
credentialOffer,
}
Expand Down

0 comments on commit 57ca020

Please sign in to comment.