diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp index ee53442de..6c3eaa757 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -1113,7 +1113,7 @@ wallet2::wallet2(network_type nettype, uint64_t kdf_rounds, bool unattended): m_segregation_height(0), m_ignore_fractional_outputs(true), m_track_uses(false), - m_setup_background_mining(BackgroundMiningMaybe), + m_setup_background_mining(BackgroundMiningNo), m_is_initialized(false), m_kdf_rounds(kdf_rounds), is_old_file_format(false), @@ -3789,7 +3789,7 @@ bool wallet2::load_keys(const std::string& keys_file_name, const epee::wipeable_ m_segregation_height = 0; m_ignore_fractional_outputs = true; m_track_uses = false; - m_setup_background_mining = BackgroundMiningMaybe; + m_setup_background_mining = BackgroundMiningNo; m_subaddress_lookahead_major = SUBADDRESS_LOOKAHEAD_MAJOR; m_subaddress_lookahead_minor = SUBADDRESS_LOOKAHEAD_MINOR; m_original_keys_available = false;