mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 21:12:48 +01:00
fix twice denominatedBalance calculations
This commit is contained in:
parent
843dc81178
commit
5011bc2e2a
@ -293,7 +293,7 @@ void OverviewPage::updateDarksendProgress()
|
||||
float denomPart = 0;
|
||||
if(denominatedBalance > 0)
|
||||
{
|
||||
denomPart = (float)pwalletMain->GetNormalizedAnonymizedBalance() / pwalletMain->GetDenominatedBalance();
|
||||
denomPart = (float)pwalletMain->GetNormalizedAnonymizedBalance() / denominatedBalance;
|
||||
denomPart = denomPart > 1 ? 1 : denomPart;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user