wallet2: do not lose exception in current thread on refresh

pull/482/head
Crypto City 11 months ago committed by moneromooo-monero
parent 62bb95b25f
commit 835896ea24
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

@ -3566,6 +3566,7 @@ void wallet2::refresh(bool trusted_daemon, uint64_t start_height, uint64_t & blo
catch (const std::exception &e)
{
MERROR("Error parsing blocks: " << e.what());
exception = std::current_exception();
error = true;
}
blocks_fetched += added_blocks;

Loading…
Cancel
Save