simplewallet: revert to foreground refresh at startup

Background refresh is confusing to users at startup.
This commit is contained in:
moneromooo-monero 2016-07-13 11:25:53 +01:00
parent 8e143fcf1d
commit 080a60610f
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3
1 changed files with 2 additions and 0 deletions

View File

@ -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)