aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2016-07-23 09:13:15 +0200
committerRiccardo Spagni <ric@spagni.net>2016-07-23 09:13:15 +0200
commit90f2e19d5104f133dc5c7ed26b1e6821671191b8 (patch)
tree7d5ab2bba032b89137a76a04b54d3a40ef548cea
parentMerge pull request #886 (diff)
parentsimplewallet: revert to foreground refresh at startup (diff)
downloadmonero-90f2e19d5104f133dc5c7ed26b1e6821671191b8.tar.xz
Merge pull request #910
080a606 simplewallet: revert to foreground refresh at startup (moneromooo-monero)
-rw-r--r--src/simplewallet/simplewallet.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp
index 2bcd8ae4c..d75f72464 100644
--- a/src/simplewallet/simplewallet.cpp
+++ b/src/simplewallet/simplewallet.cpp
@@ -3237,6 +3237,8 @@ bool simple_wallet::run()
// check and display warning, but go on anyway
try_connect_to_daemon();
+ refresh_main(0, false);
+
std::string addr_start = m_wallet->get_account().get_public_address_str(m_wallet->testnet()).substr(0, 6);
m_auto_refresh_run = m_wallet->auto_refresh();
if (m_auto_refresh_run)