Browse Source
lnbase: self.channel_reestablished is not a queue
regtest_lnd
ThomasV
6 years ago
committed by
SomberNight
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
1 changed files with
2 additions and
1 deletions
-
electrum/lnbase.py
|
@ -262,9 +262,10 @@ class Peer(PrintError): |
|
|
asyncio.ensure_future(execution_result) |
|
|
asyncio.ensure_future(execution_result) |
|
|
|
|
|
|
|
|
def on_error(self, payload): |
|
|
def on_error(self, payload): |
|
|
|
|
|
# todo: self.channel_reestablished is not a queue |
|
|
self.print_error("error", payload["data"].decode("ascii")) |
|
|
self.print_error("error", payload["data"].decode("ascii")) |
|
|
chan_id = payload.get("channel_id") |
|
|
chan_id = payload.get("channel_id") |
|
|
for d in [ self.channel_accepted, self.channel_reestablished, self.funding_signed, |
|
|
for d in [ self.channel_accepted, self.funding_signed, |
|
|
self.funding_created, self.revoke_and_ack, self.commitment_signed, |
|
|
self.funding_created, self.revoke_and_ack, self.commitment_signed, |
|
|
self.announcement_signatures, self.closing_signed ]: |
|
|
self.announcement_signatures, self.closing_signed ]: |
|
|
if chan_id in d: |
|
|
if chan_id in d: |
|
|