docs: add debugging

This commit is contained in:
Rene Vergara 2024-11-12 14:32:23 -06:00
parent 1ce7dc24fe
commit 58951db64a
Signed by: pitmutt
GPG key ID: 65122AD495A7F5B2

View file

@ -2418,6 +2418,7 @@ pub extern "C" fn rust_wrapper_create_transaction(
Err(e) => { Err(e) => {
match e { match e {
Error::InsufficientFunds(y) => { Error::InsufficientFunds(y) => {
println!("ins funds: {:?}", y);
let x = Hhex {bytes: vec![0]}; let x = Hhex {bytes: vec![0]};
marshall_to_haskell_var(&x, out, out_len, RW); marshall_to_haskell_var(&x, out, out_len, RW);
}, },