Skip to content

Commit

Permalink
wallet-core: Add ffi module back
Browse files Browse the repository at this point in the history
  • Loading branch information
Daksh14 committed Sep 4, 2024
1 parent 455c082 commit 7379006
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 1 addition & 2 deletions wallet-core/src/ffi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
//
// Copyright (c) DUSK NETWORK. All rights reserved.

use crate::keys::{derive_bls_pk, derive_phoenix_pk};
use crate::RNG_SEED;
use crate::keys::{derive_bls_pk, derive_phoenix_pk, RNG_SEED};
use core::ptr;
use dusk_bytes::Serializable;
use execution_core::{
Expand Down
3 changes: 3 additions & 0 deletions wallet-core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ static ALLOC: dlmalloc::GlobalDlmalloc = dlmalloc::GlobalDlmalloc;

extern crate alloc;

#[cfg(target_family = "wasm")]
mod ffi;

pub mod input;
pub mod keys;
pub mod transaction;
Expand Down

0 comments on commit 7379006

Please sign in to comment.