From 0171b5ec5af08852f87ec46cd4bb618f5330f570 Mon Sep 17 00:00:00 2001 From: Rene Vergara Date: Tue, 12 Nov 2024 16:01:53 -0600 Subject: [PATCH] add debugging --- librustzcash-wrapper/src/lib.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/librustzcash-wrapper/src/lib.rs b/librustzcash-wrapper/src/lib.rs index 24912ba..1549e16 100644 --- a/librustzcash-wrapper/src/lib.rs +++ b/librustzcash-wrapper/src/lib.rs @@ -2255,9 +2255,11 @@ pub extern "C" fn rust_wrapper_create_transaction( let mb = main_builder.add_orchard_spend::(&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); }