diff --git a/libethereum/BlockChain.cpp b/libethereum/BlockChain.cpp index 8a654fa51..2b6cb25c2 100644 --- a/libethereum/BlockChain.cpp +++ b/libethereum/BlockChain.cpp @@ -849,7 +849,7 @@ void BlockChain::rescue(OverlayDB& _db) u = m; } cout << " lowest is " << l << endl; - for (;; --l) + for (; l > 0; --l) { h256 h = numberHash(l); cout << "Checking validity of " << l << " (" << h << ")..." << flush;