mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-19 16:13:55 +02:00
Merge pull request #3910
cddf3c3
History: fix payment proof button (reemuru)
This commit is contained in:
commit
a67865b969
2
main.qml
2
main.qml
@ -980,7 +980,7 @@ ApplicationWindow {
|
|||||||
|
|
||||||
// called on "getProof"
|
// called on "getProof"
|
||||||
function handleGetProof(txid, address, message, amount) {
|
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)
|
var result = currentWallet.getReserveProof(false, currentWallet.currentSubaddressAccount, walletManager.amountFromString(amount), message)
|
||||||
txProofComputed(null, result)
|
txProofComputed(null, result)
|
||||||
} else {
|
} else {
|
||||||
|
@ -1720,7 +1720,7 @@ Rectangle {
|
|||||||
}
|
}
|
||||||
|
|
||||||
console.log("getProof: Generate clicked: txid " + hash + ", address " + address);
|
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.title = qsTr("Payment proof") + translationManager.emptyString;
|
||||||
informationPopup.text = qsTr("Generating payment proof") + "..." + translationManager.emptyString;
|
informationPopup.text = qsTr("Generating payment proof") + "..." + translationManager.emptyString;
|
||||||
informationPopup.onCloseCallback = null
|
informationPopup.onCloseCallback = null
|
||||||
|
Loading…
Reference in New Issue
Block a user