Skip to content

Commit

Permalink
Nit
Browse files Browse the repository at this point in the history
  • Loading branch information
thibault-martinez committed Sep 22, 2023
1 parent 6fc7a51 commit 0ba94db
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ use std::{collections::HashMap, path::Path, sync::atomic::Ordering};
use crate::{
client::{
constants::IOTA_COIN_TYPE, secret::SecretManagerConfig, storage::StorageAdapter, stronghold::StrongholdAdapter,
Error as ClientError,
},
types::TryFromDto,
wallet::{
Expand Down Expand Up @@ -101,8 +102,8 @@ pub(crate) async fn read_data_from_stronghold_snapshot<S: 'static + SecretManage
pub(crate) async fn migrate_snapshot_from_chrysalis_to_stardust(
stronghold_adapter: &StrongholdAdapter,
) -> crate::wallet::Result<Option<HashMap<String, String>>> {
use crate::client::Error as ClientError;
log::debug!("migrate_snapshot_from_chrysalis_to_stardust");

let stronghold = stronghold_adapter.inner().await;
let stronghold_client = match stronghold.load_client(b"iota-wallet-records") {
Ok(client) => client,
Expand Down

0 comments on commit 0ba94db

Please sign in to comment.