mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-20 07:09:15 +01:00
Merge pull request #4618
eb0b56b Simplify serialize.h's exception handling (Pieter Wuille)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user