use new constrain_equal sig

This commit is contained in:
mohab metwally
2022-11-17 18:34:32 +02:00
parent c4e0748dc7
commit a12042678a

View File

@@ -94,7 +94,7 @@ c4_cm_y = ec_get_y(c4_cm);
constrain_instance(c4_cm_y);
v1v2 = base_add(c1_value, c2_value);
v2v3 = base_add(v3_value, v4_value);
constrain_equal(v1v2, v2v3);
constrain_equal_base(v1v2, v2v3);
# root of path to coin1 commitment at given position
c1_root = merkle_root(c1_cm_pos, c1_cm_path, c1_cm_hash);
constrain_instance(c1_root);