From dac686b11d1c2cfc4cd130899cfd9f80656fda28 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Fri, 22 Mar 2019 10:09:16 +0100 Subject: [PATCH] minor fix --- electrum/lnpeer.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/electrum/lnpeer.py b/electrum/lnpeer.py index a4962eb7a..a0b30b42f 100644 --- a/electrum/lnpeer.py +++ b/electrum/lnpeer.py @@ -540,14 +540,13 @@ class Peer(PrintError): raise Exception('Unknown channel_reestablish') self.channel_reestablished[chan_id].set_result(payload) - def try_to_get_remote_to_force_close_with_their_latest(chan_id): + def try_to_get_remote_to_force_close_with_their_latest(self, chan_id): self.print_error("trying to get remote to force close", bh2u(chan_id)) self.send_message( "channel_reestablish", channel_id=chan_id, next_local_commitment_number=0, - next_remote_revocation_number=0 - ) + next_remote_revocation_number=0) @log_exceptions async def reestablish_channel(self, chan: Channel):