diff --git a/applications/minotari_console_wallet/src/init/mod.rs b/applications/minotari_console_wallet/src/init/mod.rs index b48e9ce240..2873aeb18d 100644 --- a/applications/minotari_console_wallet/src/init/mod.rs +++ b/applications/minotari_console_wallet/src/init/mod.rs @@ -831,10 +831,6 @@ pub fn prompt_wallet_type( return Some(WalletType::default()); } - if wallet_config.wallet_type.is_some() { - return wallet_config.wallet_type.clone(); - } - match boot_mode { WalletBoot::New => { #[cfg(not(feature = "ledger"))] diff --git a/base_layer/wallet/src/config.rs b/base_layer/wallet/src/config.rs index 368739bb69..de8525d965 100644 --- a/base_layer/wallet/src/config.rs +++ b/base_layer/wallet/src/config.rs @@ -32,7 +32,7 @@ use tari_common::{ configuration::{serializers, Network, StringList}, SubConfigPath, }; -use tari_common_types::{grpc_authentication::GrpcAuthentication, wallet_types::WalletType}; +use tari_common_types::grpc_authentication::GrpcAuthentication; use tari_comms::multiaddr::Multiaddr; use tari_p2p::P2pConfig; use tari_utilities::SafePassword; @@ -118,8 +118,6 @@ pub struct WalletConfig { pub use_libtor: bool, /// A path to the file that stores the base node identity and secret key pub identity_file: Option, - /// The type of wallet software, or specific type of hardware - pub wallet_type: Option, /// The cool down period between balance enquiry checks in seconds; requests faster than this will be ignored. /// For specialized wallets processing many batch transactions this setting could be increased to 60 s to retain /// responsiveness of the wallet with slightly delayed balance updates @@ -163,7 +161,6 @@ impl Default for WalletConfig { num_required_confirmations: 3, use_libtor: true, identity_file: None, - wallet_type: None, balance_enquiry_cooldown_period: Duration::from_secs(5), } }