Transaction creation updates #78
1 changed files with 0 additions and 2 deletions
|
@ -1826,12 +1826,10 @@ pub extern "C" fn rust_wrapper_create_transaction(
|
||||||
Err(e) => {
|
Err(e) => {
|
||||||
match e {
|
match e {
|
||||||
Error::InsufficientFunds(y) => {
|
Error::InsufficientFunds(y) => {
|
||||||
println!("{:?}", y);
|
|
||||||
let x = Hhex {bytes: vec![0]};
|
let x = Hhex {bytes: vec![0]};
|
||||||
marshall_to_haskell_var(&x, out, out_len, RW);
|
marshall_to_haskell_var(&x, out, out_len, RW);
|
||||||
},
|
},
|
||||||
Error::ChangeRequired(y1) => {
|
Error::ChangeRequired(y1) => {
|
||||||
println!("Change required {:?}", y1);
|
|
||||||
let x = Hhex {bytes: vec![1]};
|
let x = Hhex {bytes: vec![1]};
|
||||||
marshall_to_haskell_var(&x, out, out_len, RW);
|
marshall_to_haskell_var(&x, out, out_len, RW);
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue