diff --git a/src/wallet/api/wallet.cpp b/src/wallet/api/wallet.cpp index a5d742aab..a0f147b96 100644 --- a/src/wallet/api/wallet.cpp +++ b/src/wallet/api/wallet.cpp @@ -435,6 +435,10 @@ WalletImpl::WalletImpl(NetworkType nettype, uint64_t kdf_rounds) m_refreshIntervalMillis = DEFAULT_REFRESH_INTERVAL_MILLIS; + m_refreshThread = boost::thread([this] () { + this->refreshThreadFunc(); + }); + } WalletImpl::~WalletImpl()