Add debugging for Sapling decode
This commit is contained in:
parent
1232c3e36f
commit
cb985d26cd
1 changed files with 3 additions and 3 deletions
|
@ -766,19 +766,19 @@ pub extern "C" fn rust_wrapper_sapling_esk_decrypt(
|
|||
marshall_to_haskell_var(&hn, out, out_len, RW);
|
||||
},
|
||||
None => {
|
||||
let hn0 = Hnote { note: 0, recipient: vec![0], memo: vec![0], nullifier: vec![0]};
|
||||
let hn0 = Hnote { note: 1000, recipient: vec![0], memo: vec![0], nullifier: vec![0]};
|
||||
marshall_to_haskell_var(&hn0, out, out_len, RW);
|
||||
}
|
||||
}
|
||||
},
|
||||
Err(_e1) => {
|
||||
let hn0 = Hnote { note: 0, recipient: vec![0], memo: vec![0], nullifier: vec![0] };
|
||||
let hn0 = Hnote { note: 2000, recipient: vec![0], memo: vec![0], nullifier: vec![0] };
|
||||
marshall_to_haskell_var(&hn0, out, out_len, RW);
|
||||
}
|
||||
}
|
||||
},
|
||||
Err(_e) => {
|
||||
let hn0 = Hnote { note: 0, recipient: vec![0], memo: vec![0], nullifier: vec![0] };
|
||||
let hn0 = Hnote { note: 3000, recipient: vec![0], memo: vec![0], nullifier: vec![0] };
|
||||
marshall_to_haskell_var(&hn0, out, out_len, RW);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue