Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
Signed-off-by: Patrik Stas <patrik.stas@absa.africa>
  • Loading branch information
Patrik-Stas committed Jun 25, 2023
1 parent 8375435 commit a580991
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 1 addition & 3 deletions libvcx/src/api_c/wallet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@ use crate::api_c::cutils::cstring::CStringUtils;
use crate::api_c::cutils::current_error::{set_current_error, set_current_error_vcx};
use crate::api_c::cutils::runtime::execute_async;
use crate::error::SUCCESS_ERR_CODE;
use libvcx_core::api_vcx::api_global::wallet::{
close_main_wallet, create_main_wallet, open_as_main_wallet,
};
use libvcx_core::api_vcx::api_global::wallet::{close_main_wallet, create_main_wallet, open_as_main_wallet};
use libvcx_core::api_vcx::api_global::wallet::{
export_main_wallet, wallet_add_wallet_record, wallet_add_wallet_record_tags, wallet_close_search_wallet,
wallet_configure_issuer, wallet_delete_wallet_record, wallet_delete_wallet_record_tags,
Expand Down
6 changes: 4 additions & 2 deletions libvcx_core/src/api_vcx/api_global/wallet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ use aries_vcx::common::signing::unpack_message_to_string;
use aries_vcx::global::settings::DEFAULT_LINK_SECRET_ALIAS;
use aries_vcx::protocols::mediated_connection::pairwise_info::PairwiseInfo;

use crate::api_vcx::api_global::profile::{get_main_anoncreds, get_main_indy_ledger_write, get_main_profile, get_main_wallet};
use crate::api_vcx::api_global::profile::{
get_main_anoncreds, get_main_indy_ledger_write, get_main_profile, get_main_wallet,
};
use crate::errors::error::LibvcxResult;
use crate::errors::mapping_from_ariesvcx::map_ariesvcx_result;
use crate::errors::mapping_from_ariesvcxcore::map_ariesvcx_core_result;
Expand Down Expand Up @@ -210,10 +212,10 @@ pub async fn wallet_import(config: &RestoreWalletConfigs) -> LibvcxResult<()> {

#[cfg(feature = "test_utils")]
pub mod test_utils {
use crate::api_vcx::api_global::profile::get_main_wallet;
use aries_vcx::aries_vcx_core::indy::wallet::WalletConfig;
use aries_vcx::global::settings::{CONFIG_WALLET_BACKUP_KEY, DEFAULT_WALLET_KEY, WALLET_KDF_RAW};
use aries_vcx::utils::devsetup::TempFile;
use crate::api_vcx::api_global::profile::get_main_wallet;

use crate::api_vcx::api_global::settings::get_config_value;
use crate::api_vcx::api_global::wallet::{
Expand Down
2 changes: 1 addition & 1 deletion libvcx_core/src/api_vcx/api_handle/schema.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use aries_vcx::global::settings::CONFIG_INSTITUTION_DID;
use crate::api_vcx::api_global::pool::get_main_pool_handle;
use crate::api_vcx::api_global::profile::{
get_main_anoncreds, get_main_anoncreds_ledger_read, get_main_anoncreds_ledger_write, get_main_indy_ledger_read,
get_main_profile
get_main_profile,
};
use crate::api_vcx::api_global::settings::get_config_value;
use crate::api_vcx::api_handle::object_cache::ObjectCache;
Expand Down

0 comments on commit a580991

Please sign in to comment.