add debugging

This commit is contained in:
Rene Vergara 2024-11-12 16:22:56 -06:00
parent 0171b5ec5a
commit 5ce29d096d
Signed by: pitmutt
GPG key ID: 65122AD495A7F5B2

View file

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