mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-30 17:01:34 +00:00
lnbase: save_channel in revoke
This commit is contained in:
parent
4e68befcf8
commit
be53041966
1 changed files with 1 additions and 0 deletions
|
@ -922,6 +922,7 @@ class Peer(PrintError):
|
||||||
|
|
||||||
def revoke(self, m):
|
def revoke(self, m):
|
||||||
rev, _ = m.revoke_current_commitment()
|
rev, _ = m.revoke_current_commitment()
|
||||||
|
self.lnworker.save_channel(chan)
|
||||||
self.send_message(gen_msg("revoke_and_ack",
|
self.send_message(gen_msg("revoke_and_ack",
|
||||||
channel_id=m.channel_id,
|
channel_id=m.channel_id,
|
||||||
per_commitment_secret=rev.per_commitment_secret,
|
per_commitment_secret=rev.per_commitment_secret,
|
||||||
|
|
Loading…
Add table
Reference in a new issue