diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2013-04-05 18:15:23 -0700 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2013-04-05 18:15:23 -0700 |
commit | 484af4e2d164fc8acef60d09a19d51170e57fe8d (patch) | |
tree | d405bf3636ccc26b3858c2e5faec8298da209556 /src/main.cpp | |
parent | c19c1d00d97d6e43e3a7081b407736f00363dc28 (diff) | |
parent | b001c871260420c6638d20c1d5039007e235d66c (diff) |
Merge pull request #2456 from Diapolo/code-layout
small indentation, space, formatting fixes (no code changes)
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/main.cpp b/src/main.cpp index fb8f1b3b1f..7f408c4d1b 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2655,12 +2655,12 @@ bool VerifyDB() { CBlockIndex *pindex = pindexState; while (pindex != pindexBest) { boost::this_thread::interruption_point(); - pindex = pindex->pnext; - CBlock block; - if (!block.ReadFromDisk(pindex)) - return error("VerifyDB() : *** block.ReadFromDisk failed at %d, hash=%s", pindex->nHeight, pindex->GetBlockHash().ToString().c_str()); - if (!block.ConnectBlock(state, pindex, coins)) - return error("VerifyDB() : *** found unconnectable block at %d, hash=%s", pindex->nHeight, pindex->GetBlockHash().ToString().c_str()); + pindex = pindex->pnext; + CBlock block; + if (!block.ReadFromDisk(pindex)) + return error("VerifyDB() : *** block.ReadFromDisk failed at %d, hash=%s", pindex->nHeight, pindex->GetBlockHash().ToString().c_str()); + if (!block.ConnectBlock(state, pindex, coins)) + return error("VerifyDB() : *** found unconnectable block at %d, hash=%s", pindex->nHeight, pindex->GetBlockHash().ToString().c_str()); } } |