Fixed verification key formatting
This commit is contained in:
parent
f11334a71b
commit
b8f5843b13
1 changed files with 1 additions and 1 deletions
|
@ -173,7 +173,7 @@ void serializeVerificationKeyToFile(r1cs_ppzksnark_keypair<alt_bn128_pp> keypair
|
||||||
for (size_t i = 1; i < icLength; ++i)
|
for (size_t i = 1; i < icLength; ++i)
|
||||||
{
|
{
|
||||||
auto vkICi = outputPointG1AffineAsHex(keypair.vk.encoded_IC_query.rest.values[i - 1]);
|
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;
|
std::ofstream fh;
|
||||||
|
|
Loading…
Reference in a new issue