Browse Source

Fix for previous.

cl-refactor
Gav Wood 10 years ago
parent
commit
36e57f09a2
  1. 2
      libethereum/BlockQueue.cpp

2
libethereum/BlockQueue.cpp

@ -107,7 +107,7 @@ void BlockQueue::verifierBody()
bool ready = false; bool ready = false;
{ {
unique_lock<Mutex> l(m_verification); unique_lock<Mutex> l(m_verification);
if (m_verifying.front().verified.info.mixHash == work.first) if (!m_verifying.empty() && m_verifying.front().verified.info.mixHash == work.first)
{ {
// we're next! // we're next!
m_verifying.pop_front(); m_verifying.pop_front();

Loading…
Cancel
Save