drand / drand/tlock-js

Inconsistent toRawBytes() usage

Open
#48 0 comments 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.