Addition of functinality for manipulating Unified Addresses and Viewing Keys #1

Merged
pitmutt merged 17 commits from dev020 into master 2023-12-04 16:31:17 +00:00
1 changed files with 4 additions and 2 deletions
Showing only changes of commit 31579a6bb2 - Show all commits

View File

@ -457,14 +457,16 @@ pub extern "C" fn rust_wrapper_tx_parse(
marshall_to_haskell_var(&s_output, out, out_len, RW);
},
None => {
let z = HrawTx { bytes: vec![0], s: false, o: false};
let mut z = Vec::new();
z.push(vec![0]);
marshall_to_haskell_var(&z, out, out_len, RW);
}
}
},
Err(_e) => {
let y = HrawTx { bytes: vec![0], s: false, o: false};
let mut y = Vec::new();
y.push(vec![0]);
marshall_to_haskell_var(&y, out, out_len, RW);
}
}