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

Recovery fails if nothing is missing #236

Open
nazar-pc opened this issue Aug 20, 2023 · 0 comments
Open

Recovery fails if nothing is missing #236

nazar-pc opened this issue Aug 20, 2023 · 0 comments

Comments

@nazar-pc
Copy link
Contributor

It is a funny error, but this line panics in case no samples are None:
https://github.com/sifraitech/rust-kzg/blob/78802fa9b61797242643142492984ebaa4a7620c/blst/src/recovery.rs#L106

Not only it should forward errors up, I think in that case recovery should return input in recover_poly_from_samples and do a simple transformation in recover_poly_coeffs_from_samples.

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

No branches or pull requests

1 participant