From 91e310b8a05f8c0fe0cf773ea85f577d502abb36 Mon Sep 17 00:00:00 2001 From: Pravdyvy Date: Mon, 6 Jul 2026 09:14:34 +0300 Subject: [PATCH] fix(wallet_ffi): suggestiion 1 --- lez/wallet-ffi/src/types.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lez/wallet-ffi/src/types.rs b/lez/wallet-ffi/src/types.rs index 848649b0..6ada99f7 100644 --- a/lez/wallet-ffi/src/types.rs +++ b/lez/wallet-ffi/src/types.rs @@ -45,6 +45,12 @@ impl From for NullifierPublicKey { } } +impl From for FfiNullifierPublicKey { + fn from(value: NullifierPublicKey) -> Self { + Self { data: value.0 } + } +} + /// Program ID - 8 u32 values (32 bytes total). #[repr(C)] #[derive(Clone, Copy, Default)]