mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-29 00:11:36 +00:00
follow-up previous commit
This commit is contained in:
parent
a7d37b72db
commit
ecd9508233
1 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Reference in a new issue