Debugging parameters

This commit is contained in:
Rene Vergara 2024-05-02 13:34:26 -05:00
parent c7f2bca2c4
commit d5e17afc99
Signed by: pitmutt
GPG key ID: 65122AD495A7F5B2

View file

@ -1804,10 +1804,10 @@ pub extern "C" fn rust_wrapper_create_transaction(
}
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_prover = SpendParameters::read(spend_params_reader, true).unwrap();
let spend_prover = SpendParameters::read(spend_params_reader, false).unwrap();
let output_params_in: Vec<u8> = marshall_from_haskell_var(sapoutput, sapoutput_len, RW);
let output_params_reader = Cursor::new(output_params_in);
let output_prover = OutputParameters::read(output_params_reader, true).unwrap();
let output_prover = OutputParameters::read(output_params_reader, false).unwrap();
println!("loaded params");
let result = if net {
println!("started main build");