From 2529323ba300d9b26213170347f2e8abcfa05168 Mon Sep 17 00:00:00 2001 From: SomberNight Date: Wed, 6 Sep 2023 14:11:41 +0000 Subject: [PATCH] (trivial) lnworker: fix type hint --- electrum/lnworker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electrum/lnworker.py b/electrum/lnworker.py index 851e8c197..2ef4f19d4 100644 --- a/electrum/lnworker.py +++ b/electrum/lnworker.py @@ -2611,7 +2611,7 @@ class LNWallet(LNWorker): await self.network.broadcast_transaction(tx) return tx.txid() - def schedule_force_closing(self, chan_id: bytes) -> 'asyncio.Task[None]': + def schedule_force_closing(self, chan_id: bytes) -> 'asyncio.Task[bool]': """Schedules a task to force-close the channel and returns it. Network-related exceptions are suppressed. (automatic rebroadcasts will be scheduled)