Skip to content

Commit

Permalink
fix: add missing quotes around undefined (#207)
Browse files Browse the repository at this point in the history
  • Loading branch information
yhuard committed Dec 3, 2021
1 parent fb0e062 commit 4abd521
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/VerifierAlgorithm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export function verifyES256K(
return typeof ethereumAddress === 'undefined' && typeof blockchainAccountId === 'undefined'
})
const blockchainAddressKeys = authenticators.filter(({ ethereumAddress, blockchainAccountId }) => {
return typeof ethereumAddress !== 'undefined' || typeof blockchainAccountId !== undefined
return typeof ethereumAddress !== 'undefined' || typeof blockchainAccountId !== 'undefined'
})

let signer: VerificationMethod | undefined = fullPublicKeys.find((pk: VerificationMethod) => {
Expand Down

0 comments on commit 4abd521

Please sign in to comment.