mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 04:22:55 +01:00
Use display unit instead of hardcoded DRK for darksend settings
This commit is contained in:
parent
e6ce27defd
commit
36acf7e57a
@ -308,10 +308,14 @@ void OverviewPage::darkSendStatus()
|
||||
{
|
||||
updateDarksendProgress();
|
||||
|
||||
std::ostringstream convert2;
|
||||
convert2 << nAnonymizeDarkcoinAmount << " DRK / " << nDarksendRounds << " Rounds";
|
||||
QString s2(convert2.str().c_str());
|
||||
ui->labelAmountRounds->setText(s2);
|
||||
QString strSettings(" Rounds");
|
||||
strSettings.prepend(QString::number(nDarksendRounds)).prepend(" / ");
|
||||
strSettings.prepend(BitcoinUnits::formatWithUnit(
|
||||
walletModel->getOptionsModel()->getDisplayUnit(),
|
||||
nAnonymizeDarkcoinAmount * COIN)
|
||||
);
|
||||
|
||||
ui->labelAmountRounds->setText(strSettings);
|
||||
}
|
||||
|
||||
if(!fEnableDarksend) {
|
||||
|
Loading…
Reference in New Issue
Block a user