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
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 {