diff --git a/libethereum/BlockChain.cpp b/libethereum/BlockChain.cpp index 0baff8057..4e5386412 100644 --- a/libethereum/BlockChain.cpp +++ b/libethereum/BlockChain.cpp @@ -386,6 +386,7 @@ tuple BlockChain::sync(BlockQueue& _bq, OverlayDB c if (!badBlocks.empty()) badBlocks.push_back(block.verified.info.hash()); else + { do { try { @@ -427,6 +428,7 @@ tuple BlockChain::sync(BlockQueue& _bq, OverlayDB c badBlocks.push_back(block.verified.info.hash()); } } while (false); + } return make_tuple(ImportRoute{dead, fresh, goodTransactions}, _bq.doneDrain(badBlocks), count); }