1
0

basic watchtower synchronization

This commit is contained in:
ThomasV
2019-03-12 18:33:36 +01:00
parent c155293166
commit 3abe30e9d8
6 changed files with 53 additions and 42 deletions

View File

@@ -490,7 +490,7 @@ class Peer(PrintError):
)
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.lnwatcher.add_channel(chan.funding_outpoint.to_str(), chan.get_funding_address())
self.lnworker.on_channels_updated()
while True:
try: