add debugging
This commit is contained in:
parent
42f3e3a7fd
commit
107e1fa6e5
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue