浏览代码

simplify vm.pism

narodnik 5 年之前
父节点
当前提交
3267015f2e
共有 1 个文件被更改,包括 2 次插入3 次删除
  1. 2 3
      proofs/vm.pism

+ 2 - 3
proofs/vm.pism

@@ -3,9 +3,6 @@ constant v = 123
 contract input_spend
     param x
     private x2
-    private x3
-    public input
-start
     set x2 x
     mul x2 x
 
@@ -14,6 +11,7 @@ start
     lc2_add x2
     enforce
 
+    private x3
     set x3 x2
     mul x3 x
 
@@ -22,6 +20,7 @@ start
     lc2_add x3
     enforce
 
+    public input
     set input x3
 
     lc0_add input