diff options
| author | Pawel Zelawski <pawel.zelawski@outlook.com> | 2026-01-23 11:37:56 +0100 |
|---|---|---|
| committer | Pawel Zelawski <pawel.zelawski@outlook.com> | 2026-01-23 11:37:56 +0100 |
| commit | fbc80fe79ce823534a58197dd3173f29f81d6bcb (patch) | |
| tree | 3cbb05850a7ee33ff951b55b469704cbbcfb99ec /vitest.config.ts | |
| parent | 491058ae03ba1f0ae70fe3c684002c9e8e864a53 (diff) | |
fix: correct public key recovery to use toBytes() and addRecoveryBit()
- Changed point.toRawBytes() to point.toBytes() to match @noble/curves v2 API
- Added .addRecoveryBit(actualRecoveryId) to signature for proper recovery
- Returns both compressed/uncompressed public keys for verification
- Fixes signature verification regression in v2.0.0
Diffstat (limited to 'vitest.config.ts')
0 files changed, 0 insertions, 0 deletions
