Skip to content
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

Call Message::parse directly #1849

Merged
merged 2 commits into from
Sep 6, 2023
Merged

Call Message::parse directly #1849

merged 2 commits into from
Sep 6, 2023

Conversation

sug0
Copy link
Contributor

@sug0 sug0 commented Aug 29, 2023

Describe your changes

When calling into libsecp256k1 functions, we do not need to attempt to parse message digests. This is because we have a [u8; 32] value ready to be passed to the library code.

Indicate on which release or other PRs this topic is based on

v0.21.1

Checklist before merging to draft

  • I have added a changelog
  • Git history is in acceptable state

@sug0 sug0 added enhancement New feature or request ledger labels Aug 29, 2023
@sug0 sug0 requested a review from tzemanovic August 29, 2023 08:20
@sug0 sug0 mentioned this pull request Aug 29, 2023
sug0 added a commit that referenced this pull request Aug 30, 2023
Fraccaman added a commit that referenced this pull request Sep 6, 2023
* origin/tiago/call-msg-parse:
  Changelog for #1849
  Call `Message::parse` directly
Fraccaman added a commit that referenced this pull request Sep 6, 2023
* origin/tiago/call-msg-parse:
  Changelog for #1849
  Call `Message::parse` directly
@Fraccaman Fraccaman merged commit 54e1f05 into main Sep 6, 2023
11 of 12 checks passed
@Fraccaman Fraccaman deleted the tiago/call-msg-parse branch September 6, 2023 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request ledger
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants