mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 12:32:48 +01:00
change nEnd to index (might break the progress bar on wallet creation, should test)
Signed-off-by: Pasta <pasta@dashboost.org>
This commit is contained in:
parent
cd5a12f9fb
commit
05ad6d2ecb
@ -4352,7 +4352,7 @@ bool CWallet::TopUpKeyPool(unsigned int kpSize)
|
||||
setInternalKeyPool.size() + setExternalKeyPool.size(), setInternalKeyPool.size());
|
||||
}
|
||||
|
||||
double dProgress = 100.f * nEnd / (nTargetSize + 1);
|
||||
double dProgress = 100.f * index / (nTargetSize + 1);
|
||||
std::string strMsg = strprintf(_("Loading wallet... (%3.2f %%)"), dProgress);
|
||||
uiInterface.InitMessage(strMsg);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user