aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2014-08-24 01:57:52 +0200
committerPieter Wuille <pieter.wuille@gmail.com>2014-08-24 02:06:09 +0200
commit5cd00bc8cb6820d3b41bea329fcf0c26c03db64a (patch)
tree174862fcca9125ed73cd6ececd9aca0d4b4305d4 /src/main.cpp
parent57fe1eaadc7c404b199239351e7bd80f48f3bcba (diff)
parenteb0b56b19017ab5c16c745e6da39c53126924ed6 (diff)
Merge pull request #4618
eb0b56b Simplify serialize.h's exception handling (Pieter Wuille)
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index d7543e3f13..01f3e06a60 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -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);