fix(wallet_ffi): suggestiion 1

This commit is contained in:
Pravdyvy 2026-07-06 09:14:34 +03:00
parent 9d1e873344
commit 91e310b8a0

View File

@ -45,6 +45,12 @@ impl From<FfiNullifierPublicKey> for NullifierPublicKey {
}
}
impl From<NullifierPublicKey> 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)]