From f7e6700e8cedc845a23b8805571e9ab85a8191a8 Mon Sep 17 00:00:00 2001 From: Nym Date: Sat, 26 Jun 2021 17:44:19 +0000 Subject: [PATCH] Emit the signature public from the spend contract. This was out of sync with the generated file src/circuit/spend_contract.rs that has been modified manually. --- proofs/spend.pism | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/proofs/spend.pism b/proofs/spend.pism index eadd58dbd..3df4a3af3 100644 --- a/proofs/spend.pism +++ b/proofs/spend.pism @@ -16,6 +16,7 @@ contract spend_contract param serial Fr param randomness_coin Fr param secret Fr + param signature_secret Fr {% for i in range(4) %} param branch_{{ i }} Scalar @@ -131,5 +132,10 @@ start {% endfor %} # Reveal the merkle root emit_scalar current + + # Emit the signature public key + fr_as_binary_le signature_secret param:signature_secret + ec_mul_const signature_public signature_secret G_SPEND + emit_ec signature_public end