Inconsistent toRawBytes() usage
Open
- Dominant language
- TypeScript
- Stars
- 128
- Forks
- 16
- PR merge metrics
- No merged PRs in 30d
Description
https://github.com/drand/tlock-js/blob/17d817ee259e79381111dd75009b0f022c39ace3/src/drand/timelock-decrypter.ts#L67
Here we pass `true` as `compressed`, but on write we use `toRawBytes()` with default params:
https://github.com/drand/tlock-js/blob/17d817ee259e79381111dd75009b0f022c39ace3/src/crypto/ibe.ts#L43
Result is the same, but better make it more consistent
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.