Skip to content

Commit

Permalink
fix bug where sdjwtvc payload was header
Browse files Browse the repository at this point in the history
Signed-off-by: Berend Sliedrecht <sliedrecht@berend.io>
  • Loading branch information
Berend Sliedrecht committed Dec 16, 2023
1 parent f19d360 commit b6e985b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/sdJwtVc/sdJwtVc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export class SdJwtVc<
const keyBinding = kb
? new KeyBinding()
.withHeader(kb.header)
.withHeader(kb.payload)
.withPayload(kb.payload)
.withSignature(kb.signature)
: undefined

Expand Down

0 comments on commit b6e985b

Please sign in to comment.