-
-
Notifications
You must be signed in to change notification settings - Fork 821
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: hashMessage
bytes conversion
#475
Conversation
🦋 Changeset detectedLatest commit: 37918e5 The changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Size Change: +190 B (0%) Total Size: 252 kB
ℹ️ View Unchanged
|
Codecov Report
@@ Coverage Diff @@
## main #475 +/- ##
==========================================
- Coverage 99.92% 89.98% -9.94%
==========================================
Files 259 248 -11
Lines 23944 23503 -441
Branches 1978 1350 -628
==========================================
- Hits 23926 21150 -2776
- Misses 18 2318 +2300
- Partials 0 35 +35
|
Fixes #473. Use explicit
stringToBytes
instead oftoBytes
.PR-Codex overview
This PR fixes a bug in the
hashMessage
function related to string conversion. It also adds a new parameter to the function allowing for different output formats.Detailed summary
hashMessage
string conversion for messages that have same format as hex bytes.hashMessage
function allowing for different output formats.