Skip to content

Commit

Permalink
chore: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
sanderPostma committed Aug 3, 2024
1 parent 24d8218 commit 65c41f8
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions packages/key-utils/src/functions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -366,9 +366,13 @@ const OID: Record<OIDType, Uint8Array> = {
}

function compareUint8Arrays(a: Uint8Array, b: Uint8Array): boolean {
if (a.length !== b.length) return false
if (a.length !== b.length) {
return false
}
for (let i = 0; i < a.length; i++) {
if (a[i] !== b[i]) return false
if (a[i] !== b[i]) {
return false
}
}
return true
}
Expand Down

0 comments on commit 65c41f8

Please sign in to comment.