Merge pull request #302 from UdjinM6/fix_progress

Fix progress
This commit is contained in:
evan82 2015-04-08 15:31:34 -07:00
commit be7658c8f1

View File

@ -300,7 +300,7 @@ void OverviewPage::updateDarksendProgress()
{
denomPart = (float)pwalletMain->GetNormalizedAnonymizedBalance() / denominatedBalance;
denomPart = denomPart > 1 ? 1 : denomPart;
if(denomPart == 1) nMaxToAnonymize = denominatedBalance;
if(denomPart == 1 && nMaxToAnonymize > denominatedBalance) nMaxToAnonymize = denominatedBalance;
}
// % of fully anonymized balance