aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api
diff options
context:
space:
mode:
authorIlya Kitaev <mbg033@gmail.com>2016-07-13 15:26:31 +0300
committerIlya Kitaev <mbg033@gmail.com>2016-07-18 23:03:09 +0300
commit193d2513607edf316e283a7360501e1d1feab2a0 (patch)
treed3f0ffe8ddd7b573b361fdee3466aa2df15fc330 /src/wallet/api
parentwallet_api: segfault on refresh fixed (diff)
downloadmonero-193d2513607edf316e283a7360501e1d1feab2a0.tar.xz
libwallet_api cmake: conditionally creating libwallet_merged2 only for
STATIC build
Diffstat (limited to 'src/wallet/api')
-rw-r--r--src/wallet/api/wallet.cpp3
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;