git://git.novaco.in
/
novacoin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Revert "Split CMerkleTx::SetMerkleBranch"
[novacoin.git]
/
src
/
txdb-leveldb.cpp
diff --git
a/src/txdb-leveldb.cpp
b/src/txdb-leveldb.cpp
index
97bf88c
..
8f956fe
100644
(file)
--- a/
src/txdb-leveldb.cpp
+++ b/
src/txdb-leveldb.cpp
@@
-41,7
+41,7
@@
void init_blockindex(leveldb::Options& options, bool fRemoveOld = false) {
filesystem::remove_all(directory); // remove directory
unsigned int nFile = 1;
- while (true)
+ for ( ; ; )
{
filesystem::path strBlockFile = GetDataDir() / strprintf("blk%04u.dat", nFile);