Merge pull request #910

080a606 simplewallet: revert to foreground refresh at startup (moneromooo-monero)
This commit is contained in:
Riccardo Spagni 2016-07-23 09:13:15 +02:00
commit 90f2e19d51
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD
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)