add debugging

This commit is contained in:
Rene Vergara 2024-11-12 16:01:53 -06:00
parent a5898d04f8
commit 0171b5ec5a
Signed by: pitmutt
GPG key ID: 65122AD495A7F5B2

View file

@ -2255,9 +2255,11 @@ pub extern "C" fn rust_wrapper_create_transaction(
let mb = main_builder.add_orchard_spend::<String>(&sp_key, note, merkle_path);
match mb {
Ok(()) => {
println!("added orchard inp: {:?}", val);
continue;
},
Err(_e) => {
Err(e) => {
println!("failed orchard inp: {:?}", e);
let x = Hhex {bytes: vec![7]};
marshall_to_haskell_var(&x, out, out_len, RW);
}