diff --git a/src/qt/privacydialog.cpp b/src/qt/privacydialog.cpp index 566f349017bf3..99f8586e6b8d9 100644 --- a/src/qt/privacydialog.cpp +++ b/src/qt/privacydialog.cpp @@ -109,6 +109,8 @@ PrivacyDialog::PrivacyDialog(QWidget* parent) : QDialog(parent, Qt::WindowSystem if(!settings.contains("fDenomsSectionMinimized")) settings.setValue("fDenomsSectionMinimized", true); minimizeDenomsSection(settings.value("fDenomsSectionMinimized").toBool()); + + ui->checkBoxMintChange->setVisible(false); } PrivacyDialog::~PrivacyDialog() @@ -343,7 +345,7 @@ void PrivacyDialog::sendzPIV() } // Convert change to zPIV - bool fMintChange = ui->checkBoxMintChange->isChecked(); + bool fMintChange = false;// ui->checkBoxMintChange->isChecked(); // Persist minimize change setting fMinimizeChange = ui->checkBoxMinimizeChange->isChecked(); diff --git a/src/qt/zpivcontroldialog.cpp b/src/qt/zpivcontroldialog.cpp index 99ebc2df3af0b..25a73011e29d1 100644 --- a/src/qt/zpivcontroldialog.cpp +++ b/src/qt/zpivcontroldialog.cpp @@ -80,7 +80,7 @@ void ZPivControlDialog::updateList() //populate rows with mint info int nBestHeight = chainActive.Height(); - map mapMaturityHeight = GetMintMaturityHeight(); + //map mapMaturityHeight = GetMintMaturityHeight(); for (const CMintMeta& mint : setMints) { // assign this mint to the correct denomination in the tree view libzerocoin::CoinDenomination denom = mint.denom; @@ -123,9 +123,10 @@ void ZPivControlDialog::updateList() } // check for maturity - bool isMature = false; - if (mapMaturityHeight.count(mint.denom)) - isMature = mint.nHeight < mapMaturityHeight.at(denom); + // Always mature, public spends doesn't require any new accumulation. + bool isMature = true; + //if (mapMaturityHeight.count(mint.denom)) + // isMature = mint.nHeight < mapMaturityHeight.at(denom); // disable selecting this mint if it is not spendable - also display a reason why bool fSpendable = isMature && nConfirmations >= Params().Zerocoin_MintRequiredConfirmations() && mint.isSeedCorrect;