commit ecd9508233ad2512b09cc1d9a681da076dd1a54e
parent a7d37b72dbf7cdc22671617f9136d2cbfe22bb2f
Author: ThomasV <thomasv@electrum.org>
Date: Thu, 7 Mar 2019 16:33:07 +0100
follow-up previous commit
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git 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()