Unverified Commit 367134c1 authored by kladko's avatar kladko

Fixed docs

parent 855a141c
......@@ -692,12 +692,12 @@ TEST_CASE_METHOD(Fixture, "DKG_BLS test", "[dkg-bls]") {
vector <string> pubShares(n);
vector <string> polyNames(n);
int schain_id = randGen();
int dkg_id = randGen();
int schainID = randGen();
int dkgID = randGen();
for (uint8_t i = 0; i < n; i++) {
etnKeys[i] = c.generateECDSAKey();
string polyName =
"POLY:SCHAIN_ID:" + to_string(schain_id) + ":NODE_ID:" + to_string(i) + ":DKG_ID:" + to_string(dkg_id);
"POLY:SCHAIN_ID:" + to_string(schainID) + ":NODE_ID:" + to_string(i) + ":DKG_ID:" + to_string(dkgID);
c.generateDKGPoly(polyName, t);
polyNames[i] = polyName;
......@@ -910,12 +910,12 @@ TEST_CASE_METHOD(Fixture, "AES_DKG test", "[aes-dkg]") {
vector <string> pubShares(n);
vector <string> poly_names(n);
int schain_id = randGen();
int dkg_id = randGen();
int schainID = randGen();
int dkgID = randGen();
for (uint8_t i = 0; i < n; i++) {
EthKeys[i] = c.generateECDSAKey();
string polyName =
"POLY:SCHAIN_ID:" + to_string(schain_id) + ":NODE_ID:" + to_string(i) + ":DKG_ID:" + to_string(dkg_id);
"POLY:SCHAIN_ID:" + to_string(schainID) + ":NODE_ID:" + to_string(i) + ":DKG_ID:" + to_string(dkgID);
REQUIRE(EthKeys[i]["status"] == 0);
c.generateDKGPoly(polyName, t);
poly_names[i] = polyName;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment