Quellcode durchsuchen

src: removed coin_blind references

aggstam vor 3 Jahren
Ursprung
Commit
0e83156cdd
2 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 1 1
      src/contract/money/src/client/swap_v1.rs
  2. 1 1
      src/zkas/parser.rs

+ 1 - 1
src/contract/money/src/client/swap_v1.rs

@@ -154,7 +154,7 @@ impl SwapCallBuilder {
 
         proofs.push(proof);
 
-        // For the output, we create a new serial and coin blind
+        // For the output, we create a new serial
         let serial = pallas::Base::random(&mut OsRng);
 
         info!("Creating mint proof for output");

+ 1 - 1
src/zkas/parser.rs

@@ -588,7 +588,7 @@ impl Parser {
     fn parse_ast_circuit(&self, statements: Vec<Vec<Token>>) -> Vec<Statement> {
         // The statement layouts/syntax in the language are as follows:
         //
-        // C = poseidon_hash(pub_x, pub_y, value, token, serial, coin_blind);
+        // C = poseidon_hash(pub_x, pub_y, value, token, serial);
         // | |          |                   |       |
         // V V          V                   V       V
         // variable    opcode              arg     arg