diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp index c182bebd..f193ecfb 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -2478,6 +2478,12 @@ uint64_t wallet2::get_wallet_file_size()const return m_current_wallet_file_size; } //---------------------------------------------------------------------------------------------------- +void wallet2::set_use_deffered_global_outputs(bool use) +{ + LOG_PRINT_L0("[DEFFERED_MODE]: " << use); + m_use_deffered_global_outputs = use; +} +//---------------------------------------------------------------------------------------------------- void wallet2::store_watch_only(const std::wstring& path_to_save, const std::string& password) const { WLT_THROW_IF_FALSE_WALLET_INT_ERR_EX(path_to_save != m_wallet_file, "trying to save watch-only wallet to the same wallet file!"); diff --git a/src/wallet/wallet2.h b/src/wallet/wallet2.h index 4c2fb43f..ef8339dc 100644 --- a/src/wallet/wallet2.h +++ b/src/wallet/wallet2.h @@ -797,7 +797,7 @@ namespace tools bool get_utxo_distribution(std::map& distribution); uint64_t get_sync_progress(); uint64_t get_wallet_file_size()const; - void set_use_deffered_global_outputs(bool use) { m_use_deffered_global_outputs = use;} + void set_use_deffered_global_outputs(bool use); private: