From d78f4dfd7adaa259af8f37bb1803a7cad7ec6a1d Mon Sep 17 00:00:00 2001 From: Samuel Onoja Date: Tue, 19 Nov 2024 14:31:08 +0100 Subject: [PATCH] comment out adding sapling_output --- zcash_primitives/src/transaction/builder.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/zcash_primitives/src/transaction/builder.rs b/zcash_primitives/src/transaction/builder.rs index 5954352f50..0b9eac4f9e 100644 --- a/zcash_primitives/src/transaction/builder.rs +++ b/zcash_primitives/src/transaction/builder.rs @@ -634,6 +634,7 @@ impl<'a, P: consensus::Parameters, R: RngCore> Builder<'a, P, R> { // Change output // + /* if change.is_positive() { // Send change to the specified change address. If no change address // was set, send change to the first Sapling address given as input. @@ -654,6 +655,7 @@ impl<'a, P: consensus::Parameters, R: RngCore> Builder<'a, P, R> { self.add_sapling_output(Some(change_address.0), change_address.1, change, None)?; } + */ // // Record initial positions of spends and outputs