diff options
| author | Pieter Wuille <[email protected]> | 2014-08-24 01:57:52 +0200 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2014-08-24 02:06:09 +0200 |
| commit | 5cd00bc8cb6820d3b41bea329fcf0c26c03db64a (patch) | |
| tree | 174862fcca9125ed73cd6ececd9aca0d4b4305d4 /src/main.cpp | |
| parent | Merge pull request #4632 (diff) | |
| parent | Simplify serialize.h's exception handling (diff) | |
| download | discoin-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.cpp | 2 |
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); |