diff --git a/TestUtils.cpp b/TestUtils.cpp index 9c0e49e5..3d90b1c2 100644 --- a/TestUtils.cpp +++ b/TestUtils.cpp @@ -816,7 +816,7 @@ void TestUtils::doDKGV2(StubClient &c, int n, int t, std::cout << "ALL PUBLIC KEYS: " << output << '\n'; std::vector > allPubKeysFromServer(n); for (int i = 0; i < n; i++) { - std::string publicKeyStr = allPubKeysJson["result"]["publicKeys"][i].asString(); + std::string publicKeyStr = allPubKeysJson["publicKeys"][i].asString(); std::cout << "PK: " << publicKeyStr << '\n'; vector pubKeyVect = splitString( publicKeyStr.c_str(), ':' ); for (size_t j = 0; j < pubKeyVect.size(); ++j) {