mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-17 13:07:54 +02:00
CValidationState framework
This commit is contained in:
parent
2835080e16
commit
ef3988ca36
8 changed files with 226 additions and 213 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue