瀏覽代碼

Change the value for the final preimage size assert.

Nym 5 年之前
父節點
當前提交
c5c7fe7b9d
共有 2 個文件被更改,包括 4 次插入4 次删除
  1. 2 2
      proofs/mint.pism
  2. 2 2
      proofs/spend.pism

+ 2 - 2
proofs/mint.pism

@@ -71,8 +71,8 @@ start
     # Value:            u64             = 64 bits
     # Serial:           Fr              = 252 + 4 bits padding
     # Randomness coin   Fr              = 252 + 4 bits padding
-    # TOTAL: 832 bits for preimage
-    static_assert_binary_size preimage 832
+    # TOTAL: 896 bits for preimage
+    static_assert_binary_size preimage 896
     blake2s coin preimage CRH_IVK
     emit_binary coin
 end

+ 2 - 2
proofs/spend.pism

@@ -101,8 +101,8 @@ start
     # Value:            u64             = 64 bits
     # Serial:           Fr              = 252 + 4 bits padding
     # Randomness coin   Fr              = 252 + 4 bits padding
-    # TOTAL: 832 bits for preimage
-    static_assert_binary_size preimage 832
+    # TOTAL: 896 bits for preimage
+    static_assert_binary_size preimage 896
     blake2s coin preimage CRH_IVK
     # Debug stuff. Normally we don't reveal the coin in the spend proof.
     #binary_clone coin2 coin