Merge pull request #4618

eb0b56b Simplify serialize.h's exception handling (Pieter Wuille)
This commit is contained in:
Pieter Wuille
2014-08-24 01:57:52 +02:00
3 changed files with 8 additions and 59 deletions

View File

@@ -3237,7 +3237,7 @@ bool LoadExternalBlockFile(FILE* fileIn, CDiskBlockPos *dbp)
}
}
uint64_t nRewind = blkdat.GetPos();
while (blkdat.good() && !blkdat.eof()) {
while (!blkdat.eof()) {
boost::this_thread::interruption_point();
blkdat.SetPos(nRewind);