Browse Source

Merge pull request #9077 from jinjiadu/master

chore: fix comment
master
accumulator 2 years ago committed by GitHub
parent
commit
ae1a3e75cd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      electrum/lnworker.py

2
electrum/lnworker.py

@ -1405,7 +1405,7 @@ class LNWallet(LNWorker):
return tx return tx
def suggest_funding_amount(self, amount_to_pay, coins): def suggest_funding_amount(self, amount_to_pay, coins):
""" wether we can pay amount_sat after opening a new channel""" """ whether we can pay amount_sat after opening a new channel"""
num_sats_can_send = int(self.num_sats_can_send()) num_sats_can_send = int(self.num_sats_can_send())
lightning_needed = amount_to_pay - num_sats_can_send lightning_needed = amount_to_pay - num_sats_can_send
assert lightning_needed > 0 assert lightning_needed > 0

Loading…
Cancel
Save