Skip to content

Commit

Permalink
Merge branch 'v4'
Browse files Browse the repository at this point in the history
  • Loading branch information
saleel committed Apr 17, 2024
2 parents abdce7e + 8c1e991 commit ad2a9ad
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion packages/helpers/src/binary-format.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ export function assert(cond: boolean, errorMessage: string) {
}
}

export function packedNBytesToString(packedBytes: bigint[], n: number = 7): string {
export function packedNBytesToString(packedBytes: bigint[], n: number = 31): string {
const chars: number[] = [];
for (let i = 0; i < packedBytes.length; i++) {
for (let k = 0n; k < n; k++) {
Expand Down
1 change: 0 additions & 1 deletion packages/helpers/src/dkim/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ export async function verifyDKIMSignature(
): Promise<DKIMVerificationResult> {
const emailStr = email.toString();


let dkimResult = await tryVerifyDKIM(email, domain);

// If DKIM verification fails, try again after sanitizing email
Expand Down

0 comments on commit ad2a9ad

Please sign in to comment.