lnbase: save_channel in revoke

This commit is contained in:
ThomasV 2018-09-24 13:54:11 +02:00 committed by SomberNight
parent 4e68befcf8
commit be53041966
No known key found for this signature in database
GPG key ID: B33B5F232C6271E9

View file

@ -922,6 +922,7 @@ class Peer(PrintError):
def revoke(self, m):
rev, _ = m.revoke_current_commitment()
self.lnworker.save_channel(chan)
self.send_message(gen_msg("revoke_and_ack",
channel_id=m.channel_id,
per_commitment_secret=rev.per_commitment_secret,