Browse Source

Avoid rescuing beyond genesis. Closes #2505

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

2
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;

Loading…
Cancel
Save