Skip to content

Commit 47129d3

Browse files
committed
Merge branch 'develop' into feature/IATAB2B-52
2 parents 97e6314 + 51804a3 commit 47129d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/issuer/lib/VcIssuer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ export class VcIssuer<DIDDoc extends object> {
168168
}
169169
}
170170
}
171-
if (grants[PRE_AUTH_GRANT_LITERAL]?.tx_code && grants[PRE_AUTH_GRANT_LITERAL]?.tx_code?.length) {
171+
if (grants[PRE_AUTH_GRANT_LITERAL]?.tx_code && !grants[PRE_AUTH_GRANT_LITERAL]?.tx_code?.length) {
172172
grants[PRE_AUTH_GRANT_LITERAL].tx_code.length = 4
173173
}
174174

0 commit comments

Comments
 (0)