Skip to content

Commit

Permalink
Merge pull request #3910
Browse files Browse the repository at this point in the history
cddf3c3 History: fix payment proof button (reemuru)
  • Loading branch information
luigi1111 committed Jun 9, 2022
2 parents 38a63dd + cddf3c3 commit a67865b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion main.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion pages/History.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a67865b

Please sign in to comment.