Skip to content

Commit

Permalink
add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
olehnikolaiev committed Feb 22, 2024
1 parent 5b7220a commit 7968baf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions TestUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -811,6 +811,9 @@ void TestUtils::doDKGV2(StubClient &c, int n, int t,
}

auto allPubKeysJson = c.calculateAllBLSPublicKeys(publicSharesJson, t, n);
Json::FastWriter fastWriter;
std::string output = fastWriter.write(allPubKeysJson);
std::cout << "ALL PUBLIC KEYS: " << output << '\n';
std::vector<std::shared_ptr< BLSPublicKeyShare> > allPubKeysFromServer(n);
for (int i = 0; i < n; i++) {
std::string publicKeyStr = allPubKeysJson["result"]["publicKeys"][i].asString();
Expand Down

0 comments on commit 7968baf

Please sign in to comment.