1
0
Fork 0
mirror of synced 2025-09-23 12:18:44 +00:00

Fixed verification key formatting

This commit is contained in:
Jacob Eberhardt 2017-10-25 10:46:59 +02:00
parent f11334a71b
commit b8f5843b13

View file

@ -173,7 +173,7 @@ void serializeVerificationKeyToFile(r1cs_ppzksnark_keypair<alt_bn128_pp> keypair
for (size_t i = 1; i < icLength; ++i)
{
auto vkICi = outputPointG1AffineAsHex(keypair.vk.encoded_IC_query.rest.values[i - 1]);
ss << "\t\tvk.IC[" << i << "] = Pairing.G1Point(" << vkICi << endl;
ss << "\t\tvk.IC[" << i << "] = " << vkICi << endl;
}
std::ofstream fh;