SKALE-3276 fix build

parent 0311119c
......@@ -306,8 +306,6 @@ void TestUtils::doDKG(StubClient &c, int n, int t,
verifVects[i] = c.getVerificationVector(polyName, t, n);
CHECK_STATE(verifVects[i]["status"] == 0);
pubEthKeys.append(ethKeys[i]["publicKey"]);
REQUIRE_NOTHROW(c.getVerificationVector(polyName, t, n));
}
for (uint8_t i = 0; i < n; i++) {
......@@ -320,7 +318,6 @@ void TestUtils::doDKG(StubClient &c, int n, int t,
pubShares[i] += TestUtils::convertDecToHex(pubShare);
}
}
REQUIRE_NOTHROW(c.getSecretShare(polyNames[i], pubEthKeys, t, n));
}
int k = 0;
......
1.58.3
\ No newline at end of file
1.58.4
......@@ -523,9 +523,11 @@ TEST_CASE_METHOD(TestFixture, "DKG API test", "[dkg-api]") {
Json::Value verifVectWrongName = c.getVerificationVector("poly", 2, 2);
REQUIRE(verifVectWrongName["status"].asInt() != 0);
REQUIRE_NOTHROW(c.getVerificationVector("poly", 2, 2));
Json::Value secretSharesWrongName = c.getSecretShare("poly", publicKeys, 2, 2);
REQUIRE(secretSharesWrongName["status"].asInt() != 0);
REQUIRE_NOTHROW(c.getSecretShare("poly", publicKeys, 2, 2));
// wrong_t
Json::Value genPolyWrong_t = c.generateDKGPoly(polyName, 33);
......
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