forked from lthn/blockchain
fixed possible exception issues in miner dtor
This commit is contained in:
parent
3455811cc3
commit
03e4dfbbd2
1 changed files with 2 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue