From e86c05177f12c056def8faef5ddaaf17cd06d039 Mon Sep 17 00:00:00 2001 From: jinjiadu Date: Sat, 1 Jun 2024 15:01:08 +0800 Subject: [PATCH] chore: fix comment Signed-off-by: jinjiadu --- electrum/lnworker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electrum/lnworker.py b/electrum/lnworker.py index 62747e7ec..1b58a8bd2 100644 --- a/electrum/lnworker.py +++ b/electrum/lnworker.py @@ -1405,7 +1405,7 @@ class LNWallet(LNWorker): return tx 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()) lightning_needed = amount_to_pay - num_sats_can_send assert lightning_needed > 0