Browse Source

Merge pull request #2041 from pompomJuice/develop

windows build: fixed dangling catch problem
cl-refactor
Marek Kotewicz 10 years ago
parent
commit
c59db1d840
  1. 4
      libethereum/BlockQueue.cpp

4
libethereum/BlockQueue.cpp

@ -101,7 +101,8 @@ void BlockQueue::verifierBody()
} }
RLP r(&res.second); RLP r(&res.second);
for (auto const& uncle: r[2]) for (auto const& uncle : r[2])
{
try try
{ {
BlockInfo().populateFromHeader(RLP(uncle.data()), CheckEverything); BlockInfo().populateFromHeader(RLP(uncle.data()), CheckEverything);
@ -125,6 +126,7 @@ void BlockQueue::verifierBody()
badBlockHeader(uncle.data(), _e.what()); badBlockHeader(uncle.data(), _e.what());
throw; throw;
} }
}
} }
catch (...) catch (...)
{ {

Loading…
Cancel
Save