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 /package.json | |
| 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 'package.json')
| -rw-r--r-- | package.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package.json b/package.json index 1c618f8..33964d0 100644 --- a/package.json +++ b/package.json @@ -78,4 +78,4 @@ "glob": "^10.5.0", "brace-expansion": "^2.0.2" } -}
\ No newline at end of file +} |
