Compare commits

..

2 commits

Author SHA1 Message Date
7d20edd08d
Fix Orchard nullifier calculation 2024-04-17 20:14:03 -05:00
4027907896
Merge pull request 'Update version' (#66) from rav001 into dev040
Reviewed-on: #66
2024-04-17 16:24:30 +00:00
3 changed files with 8 additions and 2 deletions

View file

@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [0.5.5.3]
### Fixed
- Orchard note nullifier calculation
## [0.5.5.2]
### Added

View file

@ -908,7 +908,7 @@ pub extern "C" fn rust_wrapper_orchard_note_decrypt_sk(
let result = zcash_note_encryption::try_note_decryption(&domain, &pivk, &action);
match result {
Some((n, r, m)) => {
let hn = Hnote {note: n.value().inner(), recipient: r.to_raw_address_bytes().to_vec(), memo: m.to_vec(), nullifier: vec![0]};
let hn = Hnote {note: n.value().inner(), recipient: r.to_raw_address_bytes().to_vec(), memo: m.to_vec(), nullifier: n.nullifier(&fvk).to_bytes().to_vec()};
marshall_to_haskell_var(&hn, out, out_len, RW);
}
None => {

View file

@ -5,7 +5,7 @@ cabal-version: 3.0
-- see: https://github.com/sol/hpack
name: zcash-haskell
version: 0.5.5.2
version: 0.5.5.3
synopsis: Utilities to interact with the Zcash blockchain
description: Please see the README on the repo at <https://git.vergara.tech/Vergara_Tech/zcash-haskell#readme>
category: Blockchain