-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
Description
In this line isValidSignature
is missing an await
. The promise returned is truthy, always evaluates to true
.
poet-js/src/VerifiableClaimSigner.ts
Lines 69 to 70 in f50a701
if (isValidSignature(signedClaim)) return signedClaim | |
throw new IllegalArgumentException('Claim signature is invalid') |
This hasn't been an issue. This code is probably more suitable for a unit test. We could just remove it here and add a unit test.