mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-01-08 22:28:12 -05:00
update public_inputs, and lead circuit
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
constant "Lead" {
|
||||
EcFixedPointShort VALUE_COMMIT_VALUE,
|
||||
EcFixedPoint VALUE_COMMIT_RANDOM,
|
||||
EcFixedPointBase NULLIFIER_K,
|
||||
EcFixedPointShort VALUE_COMMIT_VALUE,
|
||||
EcFixedPoint VALUE_COMMIT_RANDOM,
|
||||
EcFixedPointBase NULLIFIER_K,
|
||||
}
|
||||
|
||||
contract "Lead" {
|
||||
@@ -30,7 +30,6 @@ circuit "Lead" {
|
||||
PREFIX_CM = witness_base(4);
|
||||
PREFIX_PK = witness_base(5);
|
||||
PREFIX_SN = witness_base(6);
|
||||
|
||||
# coin (1) pk
|
||||
pk = poseidon_hash(PREFIX_PK, c1_sk_root, c1_tau, ZERO);
|
||||
constrain_instance(pk);
|
||||
|
||||
Reference in New Issue
Block a user