aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorPieter Wuille <[email protected]>2014-08-24 01:57:52 +0200
committerPieter Wuille <[email protected]>2014-08-24 02:06:09 +0200
commit5cd00bc8cb6820d3b41bea329fcf0c26c03db64a (patch)
tree174862fcca9125ed73cd6ececd9aca0d4b4305d4 /src/main.cpp
parentMerge pull request #4632 (diff)
parentSimplify serialize.h's exception handling (diff)
downloaddiscoin-5cd00bc8cb6820d3b41bea329fcf0c26c03db64a.tar.xz
discoin-5cd00bc8cb6820d3b41bea329fcf0c26c03db64a.zip
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 d7543e3f1..01f3e06a6 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);