1
0
Fork 0
forked from lthn/blockchain

fixed possible exception issues in miner dtor

This commit is contained in:
sowle 2019-11-21 16:45:44 +03:00
parent 3455811cc3
commit 03e4dfbbd2
No known key found for this signature in database
GPG key ID: C07A24B2D89D49FC

View file

@ -62,7 +62,9 @@ namespace currency
//-----------------------------------------------------------------------------------------------------
miner::~miner()
{
TRY_ENTRY();
stop();
CATCH_ENTRY_NO_RETURN();
}
//-----------------------------------------------------------------------------------------------------
bool miner::set_block_template(const block& bl, const wide_difficulty_type& di, uint64_t height)