aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2013-01-27 00:14:11 +0100
committerPieter Wuille <pieterw@google.com>2013-01-30 03:56:44 +0100
commitef3988ca369900206b0cfc32cc1958aee0e43710 (patch)
tree9cd1ecf802bd159238ece0954200b98a45d01bf3 /src/init.cpp
parent2835080e164527ecc2db31e68d86ab8a8337c62b (diff)
CValidationState framework
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/init.cpp b/src/init.cpp
index 9b9415a8ed..c87850b664 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -936,7 +936,8 @@ bool AppInit2()
// scan for better chains in the block chain database, that are not yet connected in the active best chain
uiInterface.InitMessage(_("Importing blocks from block database..."));
- if (!ConnectBestBlock())
+ CValidationState state;
+ if (!ConnectBestBlock(state))
strErrors << "Failed to connect best block";
CImportData *pimport = new CImportData();