Optimize transaction creation #98

Merged
pitmutt merged 17 commits from rav001 into milestone2 2024-10-30 16:47:12 +00:00
Showing only changes of commit fa2b34e26f - Show all commits

View file

@ -728,6 +728,7 @@ pub extern "C" fn rust_wrapper_f4jumble(
out: *mut u8, out: *mut u8,
out_len: &mut usize) { out_len: &mut usize) {
let input: Vec<u8> = marshall_from_haskell_var(input, input_len, RW); let input: Vec<u8> = marshall_from_haskell_var(input, input_len, RW);
println!("testy mc testface");
let result = f4jumble::f4jumble(&input).unwrap(); let result = f4jumble::f4jumble(&input).unwrap();
marshall_to_haskell_var(&result, out, out_len, RW); marshall_to_haskell_var(&result, out, out_len, RW);
} }