-
Notifications
You must be signed in to change notification settings - Fork 45
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
Got empty common public key while invoking BLSPrivateKeyShare::generateSampleKeys #182
Comments
Thanks for your reply the other day, @olehnikolaiev . It has been confirmed that the library does not update According to the information above, I have tried the following code. This segment of code below conforms to the instructions in using-distributed-key-generation.md and using-threshold-signatures.md. Unfortunately, another problem was spotted.
The assertion of merged signature failed at the end, whereas the assertions passed during verification of participant shares. Is this also caused by the problem of updating |
hello @gaoweihe ! thanks for reporting the issue. when creating |
Thanks for your reply, @olehnikolaiev ! Your suggestions helped a lot. |
I am trying to generate sample keys with
BLSPrivateKeyShare::generateSampleKeys
following step 2 in using-threshold-signatures.md. However, the two assertions in the code below failed, wherekeys_->second->getRequiredSigners()
andkeys_->second->getTotalSigners()
both returned0
.My code:
For your convenience,
keys_
is of typeMy CMake linking configuration is
Am I using the
BLSPrivateKeyShare::generateSampleKeys
function correctly? Thanks!The text was updated successfully, but these errors were encountered: