Browse Source

Possible MSVC workaround.

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

2
libethereum/BlockQueue.cpp

@ -102,6 +102,7 @@ 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);
@ -126,6 +127,7 @@ void BlockQueue::verifierBody()
throw; throw;
} }
} }
}
catch (...) catch (...)
{ {
// bad block. // bad block.

Loading…
Cancel
Save