mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-09 12:30:10 +00:00
Merge pull request #3910
cddf3c3
History: fix payment proof button (reemuru)
This commit is contained in:
commit
a67865b969
2 changed files with 2 additions and 2 deletions
2
main.qml
2
main.qml
|
@ -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 {
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue