Merge pull request #3470

ad19f86 don't show error twice when starting simplewallet (cryptochangements34)
This commit is contained in:
luigi1111 2018-05-29 12:59:58 -05:00
commit 8e1b322a15
No known key found for this signature in database
GPG key ID: F4ACA0183641E010

View file

@ -3830,7 +3830,7 @@ void simple_wallet::on_skip_transaction(uint64_t height, const crypto::hash &txi
//---------------------------------------------------------------------------------------------------- //----------------------------------------------------------------------------------------------------
bool simple_wallet::refresh_main(uint64_t start_height, bool reset, bool is_init) bool simple_wallet::refresh_main(uint64_t start_height, bool reset, bool is_init)
{ {
if (!try_connect_to_daemon()) if (!try_connect_to_daemon(is_init))
return true; return true;
LOCK_IDLE_SCOPE(); LOCK_IDLE_SCOPE();