Skip to content

Commit

Permalink
Merge pull request #211 from adir852/patch-1
Browse files Browse the repository at this point in the history
Update using-distributed-key-generation.md
  • Loading branch information
olehnikolaiev authored Mar 1, 2024
2 parents 7eca4e2 + 62afc6c commit 530ba5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/using-distributed-key-generation.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,13 @@ std::shared_ptr < std::vector < libff::alt_bn128_Fr >> private_shares =
dkg_obj.createDKGSecretShares();
```

5. Each participant verifies that for data recieved other participants secret share matches vector of public shares
5. Each participant verifies that for data received other participants secret share matches vector of public shares

```cpp
assert(dkg_obj. VerifyDKGShare( signerIndex, secret_share, public_shares_vector));
```
where public_shares_vector is shared_ptr to vector of public shares, signerIndex is index of participant from which secret and public shares were recieved.
where public_shares_vector is shared_ptr to vector of public shares, signerIndex is the index of participants from which secret and public shares were received.
6. If verification passed each participant may create private key from secret shares that it received
Expand Down

0 comments on commit 530ba5a

Please sign in to comment.