Store witness inside WalletShieldedOutput

This commit is contained in:
Jack Grigg
2019-08-26 12:12:32 +01:00
parent b44653e686
commit e9f94119bc
2 changed files with 45 additions and 40 deletions

View File

@@ -4,7 +4,9 @@
use pairing::bls12_381::{Bls12, Fr};
use zcash_primitives::{
jubjub::{edwards, PrimeOrder},
merkle_tree::IncrementalWitness,
primitives::{Note, PaymentAddress},
sapling::Node,
transaction::TxId,
};
@@ -40,4 +42,5 @@ pub struct WalletShieldedOutput {
pub note: Note<Bls12>,
pub to: PaymentAddress<Bls12>,
pub is_change: bool,
pub witness: IncrementalWitness<Node>,
}