Functions to handle commitment tree nodes for Sapling and Orchard #100
1 changed files with 3 additions and 1 deletions
|
@ -2255,9 +2255,11 @@ pub extern "C" fn rust_wrapper_create_transaction(
|
|||
let mb = main_builder.add_orchard_spend::<String>(&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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue