From 4efae180f5466b6efdff76c938ef17b886dc92bd Mon Sep 17 00:00:00 2001 From: Rene Vergara Date: Wed, 17 Apr 2024 11:18:56 -0500 Subject: [PATCH 1/2] Fix Rust binding for Sapling decode --- librustzcash-wrapper/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/librustzcash-wrapper/src/lib.rs b/librustzcash-wrapper/src/lib.rs index 5b71bc6..39bd98b 100644 --- a/librustzcash-wrapper/src/lib.rs +++ b/librustzcash-wrapper/src/lib.rs @@ -1348,6 +1348,7 @@ pub extern "C" fn rust_wrapper_read_orchard_position( } } +#[no_mangle] pub extern "C" fn rust_wrapper_decode_sapling_address( sapling: *const u8, sapling_len: usize, -- 2.34.1 From e75175852b1247f111bdfdcc57e417decfc481fd Mon Sep 17 00:00:00 2001 From: Rene Vergara Date: Wed, 17 Apr 2024 11:21:03 -0500 Subject: [PATCH 2/2] Version bump --- CHANGELOG.md | 4 +--- zcash-haskell.cabal | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ecf9c65..a387817 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,12 +9,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added -- Added unction to encode a Sappling Address in Human Readable Format Using a SaplingReceiver +- Added function to encode a Sappling Address in Human Readable Format Using a SaplingReceiver `encodeSaplingAddress` a zcash sapling address is returned or Nothing if the function fails - Added decoding and encoding test - - ## [0.5.5.1] ### Added diff --git a/zcash-haskell.cabal b/zcash-haskell.cabal index 8d16f53..c7e5406 100644 --- a/zcash-haskell.cabal +++ b/zcash-haskell.cabal @@ -5,7 +5,7 @@ cabal-version: 3.0 -- see: https://github.com/sol/hpack name: zcash-haskell -version: 0.5.5.0 +version: 0.5.5.2 synopsis: Utilities to interact with the Zcash blockchain description: Please see the README on the repo at category: Blockchain -- 2.34.1