Browse Source

(trivial) lnworker: fix type hint

master
SomberNight 2 years ago
parent
commit
2529323ba3
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
  1. 2
      electrum/lnworker.py

2
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)

Loading…
Cancel
Save