Skip to content

Commit 62db370

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

1 file changed

Lines changed: 1 addition & 0 deletions

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 {

0 commit comments

Comments
 (0)