Merge pull request #9788 from f321x/fix_update_amount
fix: SendTab not updating amount after text input change
This commit is contained in:
@@ -689,7 +689,7 @@ def invoice_from_payment_identifier(
|
|||||||
invoice = pi.bolt11
|
invoice = pi.bolt11
|
||||||
if not invoice:
|
if not invoice:
|
||||||
return
|
return
|
||||||
if invoice.amount_msat is None:
|
if invoice._lnaddr.get_amount_msat() is None:
|
||||||
invoice.set_amount_msat(int(amount_sat * 1000))
|
invoice.set_amount_msat(int(amount_sat * 1000))
|
||||||
return invoice
|
return invoice
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user