lnworker: rename can_send to num_sats_can_send
This commit is contained in:
@@ -105,7 +105,7 @@ class InvoiceDialog(Factory.Popup):
|
||||
self.status_color = pr_color[self.status]
|
||||
self.can_pay = self.status in [PR_UNPAID, PR_FAILED]
|
||||
if self.can_pay and self.is_lightning and self.app.wallet.lnworker:
|
||||
if self.amount and self.amount > self.app.wallet.lnworker.can_send():
|
||||
if self.amount and self.amount > self.app.wallet.lnworker.num_sats_can_send():
|
||||
self.warning = _('Warning') + ': ' + _('This amount exceeds the maximum you can currently send with your channels')
|
||||
|
||||
def on_dismiss(self):
|
||||
|
||||
Reference in New Issue
Block a user