1
0

lnsweep: use chan.logger instead of module _logger

to log the chan id for free
This commit is contained in:
SomberNight
2023-03-01 15:27:13 +00:00
parent 3c5774a189
commit f6dc72899a
2 changed files with 7 additions and 6 deletions

View File

@@ -268,10 +268,10 @@ class AbstractChannel(Logger, ABC):
their_sweep_info = self.create_sweeptxs_for_their_ctx(ctx)
if our_sweep_info is not None:
self._sweep_info[txid] = our_sweep_info
self.logger.info(f'we force closed')
self.logger.info(f'we (local) force closed')
elif their_sweep_info is not None:
self._sweep_info[txid] = their_sweep_info
self.logger.info(f'they force closed.')
self.logger.info(f'they (remote) force closed.')
else:
self._sweep_info[txid] = {}
self.logger.info(f'not sure who closed.')