diff --git a/electrum/lnbase.py b/electrum/lnbase.py index d1970836e..7cf32ae76 100644 --- a/electrum/lnbase.py +++ b/electrum/lnbase.py @@ -956,7 +956,7 @@ class Peer(PrintError): async def receive_revoke(self, m): revoke_and_ack_msg = await self.revoke_and_ack[m.channel_id].get() m.receive_revocation(RevokeAndAck(revoke_and_ack_msg["per_commitment_secret"], revoke_and_ack_msg["next_per_commitment_point"])) - self.lnworker.save_channel(chan) + self.lnworker.save_channel(m) def revoke(self, m): rev, _ = m.revoke_current_commitment()