electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 3d8e168a85db561243dd2ce51658d0d34c79ef25
parent 6eba22b5a8b191747875634d734a9b9c150f8cc4
Author: ThomasV <thomasv@electrum.org>
Date:   Mon, 11 Feb 2019 17:22:59 +0100

follow-up previous commit

Diffstat:
Melectrum/lnpeer.py | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/electrum/lnpeer.py b/electrum/lnpeer.py @@ -867,6 +867,8 @@ class Peer(PrintError): def send_revoke_and_ack(self, chan: Channel): rev, _ = chan.revoke_current_commitment() self.lnworker.save_channel(chan) + self._local_changed_events[chan.channel_id].set() + self._local_changed_events[chan.channel_id].clear() self.send_message("revoke_and_ack", channel_id=chan.channel_id, per_commitment_secret=rev.per_commitment_secret, @@ -879,8 +881,6 @@ class Peer(PrintError): data = payload["htlc_signature"] htlc_sigs = [data[i:i+64] for i in range(0, len(data), 64)] chan.receive_new_commitment(payload["signature"], htlc_sigs) - self._local_changed_events[chan.channel_id].set() - self._local_changed_events[chan.channel_id].clear() self.send_revoke_and_ack(chan) def on_update_fulfill_htlc(self, update_fulfill_htlc_msg):