From 215dc96de73b507160885fb37d2698c473194898 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Wed, 11 Sep 2019 11:58:28 +0200 Subject: [PATCH] define LNWatcher.do_breach_remedy --- electrum/lnwatcher.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/electrum/lnwatcher.py b/electrum/lnwatcher.py index 31fb0cbda..45077c13b 100644 --- a/electrum/lnwatcher.py +++ b/electrum/lnwatcher.py @@ -190,9 +190,10 @@ class LNWatcher(AddressSynchronizer): await self.do_breach_remedy(funding_outpoint, spenders) if not keep_watching: await self.unwatch_channel(address, funding_outpoint) - else: - #self.logger.info(f'we will keep_watching {funding_outpoint}') - pass + + async def do_breach_remedy(self, funding_outpoints, spenders): + # overloaded in WatchTower + pass def inspect_tx_candidate(self, outpoint, n): # FIXME: instead of stopping recursion at n == 2,