Open lautarodragan opened 5 years ago
In this line isValidSignature is missing an await. The promise returned is truthy, always evaluates to true.
isValidSignature
await
true
https://github.com/poetapp/poet-js/blob/f50a70120958765edf7f5317f918bedebbb6c2db/src/VerifiableClaimSigner.ts#L69-L70
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.
In this line
isValidSignature
is missing anawait
. The promise returned is truthy, always evaluates totrue
.https://github.com/poetapp/poet-js/blob/f50a70120958765edf7f5317f918bedebbb6c2db/src/VerifiableClaimSigner.ts#L69-L70
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.