Fixes #1762 segfault when miner is interrupted. Closes #1762
@ -647,11 +647,13 @@ void static BitcoinMiner(CWallet *pwallet)
}
catch (const boost::thread_interrupted&)
{
c.disconnect();
LogPrintf("ZcashMiner terminated\n");
throw;
catch (const std::runtime_error &e)
LogPrintf("ZcashMiner runtime error: %s\n", e.what());
return;