don't show error twice when starting simplewallet

This commit is contained in:
cryptochangements34 2018-03-21 22:56:04 -04:00
parent 8361d60aef
commit ad19f8679e

View File

@ -3797,7 +3797,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)
{
if (!try_connect_to_daemon())
if (!try_connect_to_daemon(is_init))
return true;
LOCK_IDLE_SCOPE();