1
0

lnwatcher: try_redeem must return if tx is None

This commit is contained in:
ThomasV
2021-03-20 09:10:48 +01:00
parent 65e16fabd2
commit aba0bad30c

View File

@@ -432,6 +432,7 @@ class LNWalletWatcher(LNWatcher):
tx = sweep_info.gen_tx()
if tx is None:
self.logger.info(f'{name} could not claim output: {prevout}, dust')
return
self.lnworker.wallet.set_label(tx.txid(), name)
if broadcast:
await self.network.try_broadcasting(tx, name)