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

Fix *Proof::from_str #55

Merged

Conversation

LeoComandini
Copy link
Contributor

Deserializing RangeProofs and SurjectionProofs from str fails with current master.

Add a fix and tests.

@RCasatta
Copy link
Contributor

ACK e3a63b3

looks like from_hex is an easy-to-call-wrong function

@apoelstra
Copy link
Contributor

utACK. Agreed! I cannot run my local tests until #56 is fixed, but I think we're good to merge this.

apoelstra added a commit that referenced this pull request Sep 1, 2022
98994ee ffi: fix signature of whitelist_sign (Andrew Poelstra)

Pull request description:

  The signature of whitelist_sign in our FFI bindings did not match the signature in the C libarry.

  Noticed when running local tests on #55. Apparently wasm-pack notices stuff like this now and errors out :)

ACKs for top commit:
  jonasnick:
    utACK 98994ee

Tree-SHA512: a12d5260e2361aa2db06dbecf59f50a15aad1f04b5659dd265cc1bec01197e2b0c5378b903a0b5f6d4a39eeaf45bb69177bc32ef8e6b5733c9e006fcdf7d3c67
Copy link
Member

@sanket1729 sanket1729 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK e3a63b3

@apoelstra apoelstra merged commit df7c88c into BlockstreamResearch:master Sep 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants