From 107e1fa6e5f479a795d279546ec1c90ed49b7d3a Mon Sep 17 00:00:00 2001 From: Rene Vergara Date: Tue, 12 Nov 2024 14:56:41 -0600 Subject: [PATCH] add debugging --- librustzcash-wrapper/src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/librustzcash-wrapper/src/lib.rs b/librustzcash-wrapper/src/lib.rs index 9b446f6..04eb794 100644 --- a/librustzcash-wrapper/src/lib.rs +++ b/librustzcash-wrapper/src/lib.rs @@ -2152,7 +2152,7 @@ pub extern "C" fn rust_wrapper_create_transaction( } else { None }; - //println!("{:?}", sap_anchor); + println!("{:?}", sapling_anchor); let orch_input: Vec = marshall_from_haskell_var(o_input, o_input_len, RW); let orch_anchor_in : Vec = marshall_from_haskell_var(orch_wit, orch_wit_len, RW); let orch_anchor = OrchardAnchor::from_bytes(to_array(orch_anchor_in)); @@ -2162,6 +2162,7 @@ pub extern "C" fn rust_wrapper_create_transaction( } else { None }; + println!("{:?}", orchard_anchor); let build_config = BuildConfig::Standard {sapling_anchor, orchard_anchor}; let mut main_builder = Builder::new(MainNetwork, BlockHeight::from(bl_height), build_config); let mut test_builder = Builder::new(TestNetwork, BlockHeight::from(bl_height), build_config);