Skip to content

Commit

Permalink
Update using-distributed-key-generation.md
Browse files Browse the repository at this point in the history
Fix a typo in the README file
  • Loading branch information
adir852 authored Feb 20, 2024
1 parent 7eca4e2 commit 62afc6c
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 62afc6c

Please sign in to comment.