Functions to handle commitment tree nodes for Sapling and Orchard #100
1 changed files with 6 additions and 0 deletions
|
@ -2007,6 +2007,12 @@ pub extern "C" fn rust_wrapper_create_transaction(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if build {
|
if build {
|
||||||
|
let fee_result = if net {
|
||||||
|
main_builder.get_fee(&FeeRule::standard())
|
||||||
|
} else {
|
||||||
|
test_builder.get_fee(&FeeRule::standard())
|
||||||
|
};
|
||||||
|
println!("fee: {:?}", fee_result);
|
||||||
let (spend_params_in, output_params_in) = load_sapling_parameters();
|
let (spend_params_in, output_params_in) = load_sapling_parameters();
|
||||||
//let spend_params_in: Vec<u8> = marshall_from_haskell_var(sapspend, sapspend_len, RW);
|
//let spend_params_in: Vec<u8> = marshall_from_haskell_var(sapspend, sapspend_len, RW);
|
||||||
let spend_params_reader = Cursor::new(spend_params_in);
|
let spend_params_reader = Cursor::new(spend_params_in);
|
||||||
|
|
Loading…
Reference in a new issue