init.cpp: cosmetic indent changes, preparing for no-wallet mode
This commit is contained in:
parent
abf34606c0
commit
f9ee7a032b
@ -587,6 +587,7 @@ bool AppInit2(boost::thread_group& threadGroup, bool fForceServer)
|
||||
|
||||
// ********************************************************* Step 5: verify wallet database integrity
|
||||
|
||||
if (1) {
|
||||
uiInterface.InitMessage(_("Verifying wallet..."));
|
||||
|
||||
if (!bitdb.Open(GetDataDir()))
|
||||
@ -630,6 +631,7 @@ bool AppInit2(boost::thread_group& threadGroup, bool fForceServer)
|
||||
if (r == CDBEnv::RECOVER_FAIL)
|
||||
return InitError(_("wallet.dat corrupt, salvage failed"));
|
||||
}
|
||||
} // (1)
|
||||
|
||||
// ********************************************************* Step 6: network initialization
|
||||
|
||||
@ -898,6 +900,7 @@ bool AppInit2(boost::thread_group& threadGroup, bool fForceServer)
|
||||
|
||||
// ********************************************************* Step 8: load wallet
|
||||
|
||||
if (1) {
|
||||
uiInterface.InitMessage(_("Loading wallet..."));
|
||||
|
||||
nStart = GetTimeMillis();
|
||||
@ -984,6 +987,7 @@ bool AppInit2(boost::thread_group& threadGroup, bool fForceServer)
|
||||
pwalletMain->SetBestChain(chainActive.GetLocator());
|
||||
nWalletDBUpdated++;
|
||||
}
|
||||
} // (1)
|
||||
|
||||
// ********************************************************* Step 9: import blocks
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user