aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorMatt Corallo <git@bluematt.me>2017-08-01 17:02:10 -0400
committerMatt Corallo <git@bluematt.me>2017-08-01 17:02:10 -0400
commite7539f864984740b80efc44e1a8970f4353ff066 (patch)
tree5528c6baf4a2a9e588abb4d45f527bc8f81fec35 /src/init.cpp
parent13ab353829bfcf928a0dd88cc9841e6515eea111 (diff)
downloadbitcoin-e7539f864984740b80efc44e1a8970f4353ff066.tar.xz
Fix some broken init-time prints/constants
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/init.cpp b/src/init.cpp
index ae84e49cd8..ca62d3e7cc 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -1440,8 +1440,9 @@ bool AppInitMain(boost::thread_group& threadGroup, CScheduler& scheduler)
}
// At this point blocktree args are consistent with what's on disk.
- // If we're not mid-reindex (based on disk + args), add a genesis block on disk.
- // This is called again in ThreadImport in the reindex completes.
+ // If we're not mid-reindex (based on disk + args), add a genesis block on disk
+ // (otherwise we use the one already on disk).
+ // This is called again in ThreadImport after the reindex completes.
if (!fReindex && !LoadGenesisBlock(chainparams)) {
strLoadError = _("Error initializing block database");
break;