diff options
| author | Pawel Zelawski <pawel.zelawski@outlook.com> | 2026-01-23 12:19:10 +0100 |
|---|---|---|
| committer | Pawel Zelawski <pawel.zelawski@outlook.com> | 2026-01-23 12:19:10 +0100 |
| commit | 431497920652a37d2bcb9704a6465a7c474922eb (patch) | |
| tree | b00d1803353a4161c7c942a8efdf89f4af6f790e /src/types.ts | |
| parent | e7250d83ff2793c35c9627f8b5a7ee47057d2c9e (diff) | |
fix: correct message hashing for signature verification
- Fixed hashMessage function to not add extra length byte before message prefix
- The prefix '\x19DigiByte Signed Message:\n' already contains the length indicator
- Enhanced public key recovery to try all 4 recovery IDs for better compatibility
- Verified with both beta.0 and beta.1 test data
- All tests passing
Diffstat (limited to 'src/types.ts')
0 files changed, 0 insertions, 0 deletions
