Browse Source

fix typo in tx.zk

mohab metwally 3 năm trước cách đây
mục cha
commit
aa356a00bd
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      proof/tx.zk

+ 2 - 2
proof/tx.zk

@@ -68,8 +68,8 @@ circuit "tx" {
         constrain_instance(c4_cm_x);
         c4_cm_y = ec_get_y(c4_cm);
         constrain_instance(c4_cm_y);
-        v2v3 = base_add(c3_value, c4_value);
-        constrain_equal_base(c1_value, v3v4);
+        outval = base_add(c3_value, c4_value);
+        constrain_equal_base(c1_value, outval);
         # 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);