From ecd9508233ad2512b09cc1d9a681da076dd1a54e Mon Sep 17 00:00:00 2001 From: ThomasV Date: Thu, 7 Mar 2019 16:33:07 +0100 Subject: [PATCH] follow-up previous commit --- electrum/lnpeer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/electrum/lnpeer.py b/electrum/lnpeer.py index bc476aa45..ec20c0db9 100644 --- a/electrum/lnpeer.py +++ b/electrum/lnpeer.py @@ -405,7 +405,7 @@ class Peer(PrintError): chan.receive_new_commitment(remote_sig, []) # broadcast funding tx await asyncio.wait_for(self.network.broadcast_transaction(funding_tx), 1) - chan.open_with_first_pcp(self, remote_per_commitment_point, remote_sig) + chan.open_with_first_pcp(remote_per_commitment_point, remote_sig) chan.set_remote_commitment() chan.set_local_commitment(chan.current_commitment(LOCAL)) return chan @@ -488,7 +488,7 @@ class Peer(PrintError): channel_id=channel_id, signature=sig_64, ) - chan.open_with_first_pcp(self, payload['first_per_commitment_point'], remote_sig) + chan.open_with_first_pcp(payload['first_per_commitment_point'], remote_sig) self.lnworker.save_channel(chan) self.lnwatcher.watch_channel(chan.get_funding_address(), chan.funding_outpoint.to_str()) self.lnworker.on_channels_updated()