1
0

minor fix

This commit is contained in:
ThomasV
2018-10-13 14:35:56 +02:00
parent 9362130fba
commit 87fb0da5e1
2 changed files with 4 additions and 4 deletions

View File

@@ -185,8 +185,6 @@ class LNWatcher(PrintError):
@with_watchtower
def add_sweep_tx(self, funding_outpoint: str, ctx_txid: str, sweeptx):
encumbered_sweeptx = EncumberedTransaction.from_json(sweeptx)
if encumbered_sweeptx is None:
return
with self.lock:
self.sweepstore[funding_outpoint][ctx_txid].add(encumbered_sweeptx)
self.write_to_disk()