mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-01-08 22:28:12 -05:00
[consensus] y in is_lead fixed from commitment to hash, similar to the circuit
This commit is contained in:
@@ -71,6 +71,7 @@ circuit "Lead" {
|
||||
seed = poseidon_hash(PREFIX_SEED, c1_sk_root, c1_rho, ZERO);
|
||||
# y
|
||||
y = poseidon_hash(seed, mu_y);
|
||||
###
|
||||
constrain_instance(mu_y);
|
||||
constrain_instance(y);
|
||||
# rho
|
||||
|
||||
Reference in New Issue
Block a user