Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[QT] Fix a display bug about zPIV mints #852

Merged
merged 1 commit into from
Apr 14, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/qt/zpivcontroldialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,8 @@ void ZPivControlDialog::updateList()
string strReason = "";
if(nConfirmations < Params().Zerocoin_MintRequiredConfirmations())
strReason = strprintf("Needs %d more confirmations", Params().Zerocoin_MintRequiredConfirmations() - nConfirmations);
else if (model->getEncryptionStatus() == WalletModel::EncryptionStatus::Locked)
strReason = "Your wallet is locked. Impossible to precompute or spend zPIV.";
else if (!mint.isSeedCorrect)
strReason = "The zPIV seed used to mint this zPIV is not the same as currently hold in the wallet";
else
Expand Down