Browse Source

remove unused value from tx builder

narodnik 5 years ago
parent
commit
c971000e68
2 changed files with 0 additions and 2 deletions
  1. 0 1
      src/bin/tx.rs
  2. 0 1
      src/tx.rs

+ 0 - 1
src/bin/tx.rs

@@ -226,7 +226,6 @@ fn main() {
         inputs: vec![tx::TransactionBuilderInputInfo {
             coin,
             merkle_path: auth_path,
-            merkle_root: state.tree.clone(),
             secret: secret.clone(),
             note: state.own_coins[0].1.clone(),
         }],

+ 0 - 1
src/tx.rs

@@ -191,7 +191,6 @@ pub struct TransactionBuilderClearInputInfo {
 pub struct TransactionBuilderInputInfo {
     pub coin: [u8; 32],
     pub merkle_path: Vec<(bls12_381::Scalar, bool)>,
-    pub merkle_root: CommitmentTree<Coin>,
     pub secret: jubjub::Fr,
     pub note: Note,
 }