sweep_ctx: do not log if channel was not force closed
This commit is contained in:
@@ -852,7 +852,6 @@ class Channel(Logger):
|
|||||||
self.logger.info(f'they force closed.')
|
self.logger.info(f'they force closed.')
|
||||||
else:
|
else:
|
||||||
self.sweep_info[txid] = {}
|
self.sweep_info[txid] = {}
|
||||||
self.logger.info(f'not sure who closed {ctx}.')
|
|
||||||
return self.sweep_info[txid]
|
return self.sweep_info[txid]
|
||||||
|
|
||||||
def sweep_htlc(self, ctx:Transaction, htlc_tx: Transaction):
|
def sweep_htlc(self, ctx:Transaction, htlc_tx: Transaction):
|
||||||
|
|||||||
Reference in New Issue
Block a user