Addition of functinality for manipulating Unified Addresses and Viewing Keys #1
1 changed files with 4 additions and 2 deletions
|
@ -457,14 +457,16 @@ pub extern "C" fn rust_wrapper_tx_parse(
|
||||||
marshall_to_haskell_var(&s_output, out, out_len, RW);
|
marshall_to_haskell_var(&s_output, out, out_len, RW);
|
||||||
},
|
},
|
||||||
None => {
|
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);
|
marshall_to_haskell_var(&z, out, out_len, RW);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
Err(_e) => {
|
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);
|
marshall_to_haskell_var(&y, out, out_len, RW);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue