Skip to content

Commit 57ca020

Browse files
committed
fix: remove bug for txCode
Signed-off-by: Mirko Mollik <mirkomollik@gmail.com>
1 parent 006d953 commit 57ca020

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

packages/issuer/lib/VcIssuer.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,6 @@ export class VcIssuer<DIDDoc extends object> {
192192
status,
193193
notification_id: v4(),
194194
...(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
195-
...(txCode && { txCode }),
196195
...(opts.credentialDataSupplierInput && { credentialDataSupplierInput: opts.credentialDataSupplierInput }),
197196
credentialOffer,
198197
}

0 commit comments

Comments
 (0)