Browse Source

Avoid potential conditions where mining is not restarted.

cl-refactor
Gav Wood 11 years ago
parent
commit
16a80db196
  1. 2
      libethereum/Client.cpp

2
libethereum/Client.cpp

@ -438,12 +438,12 @@ void Client::work(bool _justQueue)
else
m_postMine.commitToMine(m_bc);
}
m_restartMining = false;
}
if (m_doMine)
{
cwork << "MINE";
m_restartMining = false;
// Mine for a while.
MineInfo mineInfo = m_postMine.mine(100, m_turboMining);

Loading…
Cancel
Save