Update debugging

This commit is contained in:
Rene Vergara 2024-05-02 14:30:59 -05:00
parent 6a632d45c1
commit c583451c83
Signed by: pitmutt
GPG Key ID: 65122AD495A7F5B2
1 changed files with 0 additions and 2 deletions

View File

@ -1826,12 +1826,10 @@ pub extern "C" fn rust_wrapper_create_transaction(
Err(e) => {
match e {
Error::InsufficientFunds(y) => {
println!("{:?}", y);
let x = Hhex {bytes: vec![0]};
marshall_to_haskell_var(&x, out, out_len, RW);
},
Error::ChangeRequired(y1) => {
println!("Change required {:?}", y1);
let x = Hhex {bytes: vec![1]};
marshall_to_haskell_var(&x, out, out_len, RW);
},