diff --git a/sdk/src/wallet/core/operations/stronghold_backup/mod.rs b/sdk/src/wallet/core/operations/stronghold_backup/mod.rs index 3833889846..a79cc2dc37 100644 --- a/sdk/src/wallet/core/operations/stronghold_backup/mod.rs +++ b/sdk/src/wallet/core/operations/stronghold_backup/mod.rs @@ -181,7 +181,7 @@ impl Wallet { // store new data #[cfg(feature = "storage")] { - use crate::wallet::operations::storage::SaveLoadWallet; + use crate::wallet::core::operations::storage::SaveLoadWallet; let wallet_builder = WalletBuilder::new() .with_secret_manager_arc(self.secret_manager.clone()) .with_storage_path( @@ -344,7 +344,7 @@ impl Wallet { // store new data #[cfg(feature = "storage")] { - use crate::wallet::operations::storage::SaveLoadWallet; + use crate::wallet::core::operations::storage::SaveLoadWallet; let wallet_builder = WalletBuilder::new() .with_secret_manager_arc(self.secret_manager.clone()) .with_storage_path( diff --git a/sdk/src/wallet/migration/migrate_0.rs b/sdk/src/wallet/migration/migrate_0.rs index 8744156c5d..a8214c505c 100644 --- a/sdk/src/wallet/migration/migrate_0.rs +++ b/sdk/src/wallet/migration/migrate_0.rs @@ -172,7 +172,7 @@ impl Migration for Migrate { async fn migrate(storage: &crate::client::stronghold::StrongholdAdapter) -> Result<()> { use crate::{ client::storage::StorageAdapter, - wallet::operations::stronghold_backup::stronghold_snapshot::{ACCOUNTS_KEY, CLIENT_OPTIONS_KEY}, + wallet::core::operations::stronghold_backup::stronghold_snapshot::{ACCOUNTS_KEY, CLIENT_OPTIONS_KEY}, }; if let Some(mut accounts) = storage.get::>(ACCOUNTS_KEY).await? { diff --git a/sdk/src/wallet/mod.rs b/sdk/src/wallet/mod.rs index 2ae172afc3..497ab8b265 100644 --- a/sdk/src/wallet/mod.rs +++ b/sdk/src/wallet/mod.rs @@ -32,7 +32,6 @@ pub mod storage; /// The module for spawning tasks on a thread pub(crate) mod task; -pub(crate) use self::core::operations; pub use self::{ account::{ operations::transaction::high_level::{ diff --git a/sdk/src/wallet/storage/manager.rs b/sdk/src/wallet/storage/manager.rs index ebb90d8c6a..91b2764d9e 100644 --- a/sdk/src/wallet/storage/manager.rs +++ b/sdk/src/wallet/storage/manager.rs @@ -130,7 +130,7 @@ mod tests { use super::*; use crate::{ client::secret::SecretManager, - wallet::{operations::storage::SaveLoadWallet, storage::adapter::memory::Memory, WalletBuilder}, + wallet::{core::operations::storage::SaveLoadWallet, storage::adapter::memory::Memory, WalletBuilder}, }; #[tokio::test]