Merge pull request #3910

cddf3c3 History: fix payment proof button (reemuru)
This commit is contained in:
luigi1111 2022-06-09 13:57:12 -05:00
commit a67865b969
No known key found for this signature in database
GPG key ID: F4ACA0183641E010
2 changed files with 2 additions and 2 deletions

View file

@ -980,7 +980,7 @@ ApplicationWindow {
// called on "getProof"
function handleGetProof(txid, address, message, amount) {
if (amount.length > 0) {
if (amount !== null && amount.length > 0) {
var result = currentWallet.getReserveProof(false, currentWallet.currentSubaddressAccount, walletManager.amountFromString(amount), message)
txProofComputed(null, result)
} else {

View file

@ -1720,7 +1720,7 @@ Rectangle {
}
console.log("getProof: Generate clicked: txid " + hash + ", address " + address);
middlePanel.getProofClicked(hash, address, '');
middlePanel.getProofClicked(hash, address, '', null);
informationPopup.title = qsTr("Payment proof") + translationManager.emptyString;
informationPopup.text = qsTr("Generating payment proof") + "..." + translationManager.emptyString;
informationPopup.onCloseCallback = null