add debugging
This commit is contained in:
parent
0171b5ec5a
commit
5ce29d096d
1 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue