Skip to content

Commit

Permalink
Fix off-by-one error with envelope parsing.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlongley committed May 20, 2024
1 parent 4954021 commit c358711
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/envelopes.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export async function parseEnvelope({
}

// parse data
const data = dataURL.slice(commaIndex);
const data = dataURL.slice(commaIndex + 1);

try {
// VC-JWT
Expand Down

0 comments on commit c358711

Please sign in to comment.