Skip to content

Commit

Permalink
Fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Coats committed Jul 12, 2023
1 parent 47d86d2 commit 8ba56ce
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions sdk/src/wallet/core/operations/stronghold_backup/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down Expand Up @@ -344,7 +344,7 @@ impl Wallet<StrongholdSecretManager> {
// 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(
Expand Down
2 changes: 1 addition & 1 deletion sdk/src/wallet/migration/migrate_0.rs
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ impl Migration<crate::client::stronghold::StrongholdAdapter> 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::<Vec<serde_json::Value>>(ACCOUNTS_KEY).await? {
Expand Down
1 change: 0 additions & 1 deletion sdk/src/wallet/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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::{
Expand Down
2 changes: 1 addition & 1 deletion sdk/src/wallet/storage/manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 8ba56ce

Please sign in to comment.