diff options
author | Ilya Kitaev <mbg033@gmail.com> | 2016-07-13 15:26:31 +0300 |
---|---|---|
committer | Ilya Kitaev <mbg033@gmail.com> | 2016-07-18 23:03:09 +0300 |
commit | 193d2513607edf316e283a7360501e1d1feab2a0 (patch) | |
tree | d3f0ffe8ddd7b573b361fdee3466aa2df15fc330 /src/wallet/api/wallet.cpp | |
parent | wallet_api: segfault on refresh fixed (diff) | |
download | monero-193d2513607edf316e283a7360501e1d1feab2a0.tar.xz |
libwallet_api cmake: conditionally creating libwallet_merged2 only for
STATIC build
Diffstat (limited to 'src/wallet/api/wallet.cpp')
-rw-r--r-- | src/wallet/api/wallet.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/wallet/api/wallet.cpp b/src/wallet/api/wallet.cpp index 15cffe2af..e75f5afdb 100644 --- a/src/wallet/api/wallet.cpp +++ b/src/wallet/api/wallet.cpp @@ -371,8 +371,7 @@ bool WalletImpl::init(const std::string &daemon_address, uint64_t upper_transact if (Utils::isAddressLocal(daemon_address)) { this->setTrustedDaemon(true); } - startRefresh(); - + refresh(); } catch (const std::exception &e) { LOG_ERROR("Error initializing wallet: " << e.what()); m_status = Status_Error; |