Skip to content

Commit f7d2a9e

Browse files
committed
qml: take can-send into account for lnurlp
1 parent 51e1372 commit f7d2a9e

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

electrum/gui/qml/components/LnurlPayRequestDialog.qml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ ElDialog {
2525
function isValidAmount() {
2626
return amountBtc.textAsSats.gte(invoiceParser.lnurlData['min_sendable_msat'])
2727
&& amountBtc.textAsSats.lte(invoiceParser.lnurlData['max_sendable_msat'])
28+
&& amountBtc.textAsSats.lte(invoiceParser.wallet.lightningCanSend)
2829
}
2930

3031
ColumnLayout {

electrum/gui/qml/components/LnurlWithdrawRequestDialog.qml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ ElDialog {
5757
if (!requestDetails.busy) {
5858
// don't assign while busy to prevent the view from changing while receiving
5959
// the incoming payment
60-
console.log('UPDATING')
6160
updateLimits()
6261
}
6362
}

0 commit comments

Comments
 (0)