add debugging

This commit is contained in:
Rene Vergara 2024-11-12 14:56:41 -06:00
parent 42f3e3a7fd
commit 107e1fa6e5
Signed by: pitmutt
GPG key ID: 65122AD495A7F5B2

View file

@ -2152,7 +2152,7 @@ pub extern "C" fn rust_wrapper_create_transaction(
} else {
None
};
//println!("{:?}", sap_anchor);
println!("{:?}", sapling_anchor);
let orch_input: Vec<HorchardInput> = marshall_from_haskell_var(o_input, o_input_len, RW);
let orch_anchor_in : Vec<u8> = 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);