Browse Source

Fix comment.

Nym 5 years ago
parent
commit
9aa387f0f1
2 changed files with 2 additions and 2 deletions
  1. 1 1
      proofs/mint.pism
  2. 1 1
      proofs/spend.pism

+ 1 - 1
proofs/mint.pism

@@ -36,7 +36,7 @@ start
     emit_ec cv
     emit_ec cv
 
 
     # Make the coin
     # Make the coin
-    # C = Hash(public_key, value, serial, randomness_coin)
+    # C = Hash(public_key, value, asset_id, serial, randomness_coin)
 
 
     # Build the preimage to hash
     # Build the preimage to hash
     alloc_binary preimage
     alloc_binary preimage

+ 1 - 1
proofs/spend.pism

@@ -75,7 +75,7 @@ start
     ec_mul_const public secret G_SPEND
     ec_mul_const public secret G_SPEND
 
 
     # Make the coin (same as mint contract)
     # Make the coin (same as mint contract)
-    # C = Hash(public_key, value, serial, randomness_coin)
+    # C = Hash(public_key, value, asset_id, serial, randomness_coin)
     fr_as_binary_le randomness_coin param:randomness_coin
     fr_as_binary_le randomness_coin param:randomness_coin
 
 
     # Build the preimage to hash
     # Build the preimage to hash