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.
This commit is contained in:
Nym
2021-06-26 17:44:19 +00:00
parent 1f719bed60
commit f7e6700e8c

View File

@@ -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