lnchannel: make AbstractChannel inherit ABC
and add some type annotations, clean up method signatures
This commit is contained in:
@@ -432,7 +432,7 @@ class LNWallet(LNWorker):
|
||||
self.preimages = self.db.get_dict('lightning_preimages') # RHASH -> preimage
|
||||
self.sweep_address = wallet.get_receiving_address()
|
||||
self.lock = threading.RLock()
|
||||
self.logs = defaultdict(list) # (not persisted) type: Dict[str, List[PaymentAttemptLog]] # key is RHASH
|
||||
self.logs = defaultdict(list) # type: Dict[str, List[PaymentAttemptLog]] # key is RHASH # (not persisted)
|
||||
self.is_routing = set() # (not persisted) keys of invoices that are in PR_ROUTING state
|
||||
# used in tests
|
||||
self.enable_htlc_settle = asyncio.Event()
|
||||
|
||||
Reference in New Issue
Block a user