remove unused method

This commit is contained in:
ThomasV 2018-07-17 14:23:40 +02:00 committed by SomberNight
parent 309331a936
commit 6c901b3e9a
No known key found for this signature in database
GPG key ID: B33B5F232C6271E9

View file

@ -84,13 +84,6 @@ class LNChanCloseHandler(PrintError):
self.watched_addresses.add(addr)
self.wallet.synchronizer.add(addr)
# TODO: de-duplicate?
def parse_response(self, response):
if response.get('error'):
self.print_error("response error:", response)
return None, None
return response['params'], response['result']
def check_onchain_situation(self):
funding_outpoint = self.chan.funding_outpoint
ctx_candidate_txid = self.wallet.spent_outpoints[funding_outpoint.txid].get(funding_outpoint.output_index)