mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-31 17:31:36 +00:00
minor fix
This commit is contained in:
parent
fda6fb6521
commit
dac686b11d
1 changed files with 2 additions and 3 deletions
|
@ -540,14 +540,13 @@ class Peer(PrintError):
|
|||
raise Exception('Unknown channel_reestablish')
|
||||
self.channel_reestablished[chan_id].set_result(payload)
|
||||
|
||||
def try_to_get_remote_to_force_close_with_their_latest(chan_id):
|
||||
def try_to_get_remote_to_force_close_with_their_latest(self, chan_id):
|
||||
self.print_error("trying to get remote to force close", bh2u(chan_id))
|
||||
self.send_message(
|
||||
"channel_reestablish",
|
||||
channel_id=chan_id,
|
||||
next_local_commitment_number=0,
|
||||
next_remote_revocation_number=0
|
||||
)
|
||||
next_remote_revocation_number=0)
|
||||
|
||||
@log_exceptions
|
||||
async def reestablish_channel(self, chan: Channel):
|
||||
|
|
Loading…
Add table
Reference in a new issue