aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-07-13 11:25:53 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-07-20 19:09:32 +0100
commit080a60610fda00b78bc47ad1cf525b34c887b3b8 (patch)
tree404e0b6f66ffb4fc83792b66e9206a9ef05b9a65
parentMerge pull request #911 (diff)
downloadmonero-080a60610fda00b78bc47ad1cf525b34c887b3b8.tar.xz
simplewallet: revert to foreground refresh at startup
Background refresh is confusing to users at startup.
-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)