sweep_ctx: do not log if channel was not force closed

This commit is contained in:
ThomasV 2020-02-22 09:27:34 +01:00
parent 3264d19c6b
commit 938d918e55

View file

@ -852,7 +852,6 @@ class Channel(Logger):
self.logger.info(f'they force closed.')
else:
self.sweep_info[txid] = {}
self.logger.info(f'not sure who closed {ctx}.')
return self.sweep_info[txid]
def sweep_htlc(self, ctx:Transaction, htlc_tx: Transaction):