on_open_channel: rm call to non-existing method on_channels_updated

This commit is contained in:
ThomasV 2019-12-04 18:35:04 +01:00
parent d3fd87ebd0
commit 065e98ad35

View file

@ -690,7 +690,6 @@ class Peer(Logger):
chan.open_with_first_pcp(payload['first_per_commitment_point'], remote_sig)
self.lnworker.save_channel(chan)
self.lnworker.lnwatcher.add_channel(chan.funding_outpoint.to_str(), chan.get_funding_address())
self.lnworker.on_channels_updated()
def validate_remote_reserve(self, payload_field: bytes, dust_limit: int, funding_sat: int) -> int:
remote_reserve_sat = int.from_bytes(payload_field, 'big')