Skip to content

Commit

Permalink
Added surrounding quotes back
Browse files Browse the repository at this point in the history
  • Loading branch information
AntoineRondelet committed Apr 21, 2020
1 parent 6e0ac2e commit 5d11215
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions libzeth/util_api.tcc
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,10 @@ std::string format_primary_inputs(std::vector<libff::Fr<ppT>> public_inputs)
std::stringstream ss;
ss << "[";
for (size_t i = 0; i < public_inputs.size(); ++i) {
ss << "0x"
ss << "\"0x"
<< libzeth::hex_from_libsnark_bigint<libff::Fr<ppT>>(
public_inputs[i].as_bigint());
public_inputs[i].as_bigint())
<< "\"";
if (i < public_inputs.size() - 1) {
ss << ", ";
}
Expand Down

0 comments on commit 5d11215

Please sign in to comment.