Skip to content

Commit d8dfce5

Browse files
committed
qml: take can-send into account for lnurlp
1 parent b26792b commit d8dfce5

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
@@ -59,7 +59,6 @@ ElDialog {
5959
if (!requestDetails.busy) {
6060
// don't assign while busy to prevent the view from changing while receiving
6161
// the incoming payment
62-
console.log('UPDATING')
6362
updateLimits()
6463
}
6564
}

0 commit comments

Comments
 (0)