Skip to content

Commit

Permalink
fix wasm
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Coats committed Sep 19, 2023
1 parent dfe49b0 commit 5a3a5a0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions sdk/src/wallet/migration/chrysalis.rs
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ pub(crate) fn to_chrysalis_key(key: &[u8], stronghold: bool) -> Vec<u8> {
}
}

#[cfg(not(target_family = "wasm"))]
#[cfg(feature = "rocksdb")]
pub(crate) mod rocksdb {
use ::rocksdb::{IteratorMode, DB};
Expand Down
1 change: 0 additions & 1 deletion sdk/src/wallet/migration/mod.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// Copyright 2023 IOTA Stiftung
// SPDX-License-Identifier: Apache-2.0

#[cfg(not(target_family = "wasm"))]
#[cfg(any(feature = "storage", feature = "stronghold"))]
pub(crate) mod chrysalis;
mod migrate_0;
Expand Down

0 comments on commit 5a3a5a0

Please sign in to comment.