diff options
| author | Pieter Wuille <[email protected]> | 2013-01-27 00:14:11 +0100 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2013-01-30 03:56:44 +0100 |
| commit | ef3988ca369900206b0cfc32cc1958aee0e43710 (patch) | |
| tree | 9cd1ecf802bd159238ece0954200b98a45d01bf3 /src/init.cpp | |
| parent | Merge pull request #2231 from sipa/cleanups (diff) | |
| download | discoin-ef3988ca369900206b0cfc32cc1958aee0e43710.tar.xz discoin-ef3988ca369900206b0cfc32cc1958aee0e43710.zip | |
CValidationState framework
Diffstat (limited to 'src/init.cpp')
| -rw-r--r-- | src/init.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/init.cpp b/src/init.cpp index 9b9415a8e..c87850b66 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(); |