mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-13 07:28:59 +01:00
CValidationState framework
This commit is contained in:
committed by
Pieter Wuille
parent
2835080e16
commit
ef3988ca36
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user