URI: 
       t(minor) follow-up previous commit - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 9b97469598c040f5ec6a0c8fc7d59888d47b3b02
   DIR parent 6833adf8b6fb8a48babc4c503d23e740d9b586f4
  HTML Author: ThomasV <thomasv@electrum.org>
       Date:   Wed, 26 Feb 2020 15:49:55 +0100
       
       (minor) follow-up previous commit
       
       Diffstat:
         M electrum/lnpeer.py                  |       4 ++--
       
       1 file changed, 2 insertions(+), 2 deletions(-)
       ---
   DIR diff --git a/electrum/lnpeer.py b/electrum/lnpeer.py
       t@@ -1416,11 +1416,11 @@ class Peer(Logger):
                    their_sig = cs_payload['signature']
                    # verify their sig: they might have dropped their output
                    our_sig, closing_tx = chan.make_closing_tx(our_scriptpubkey, their_scriptpubkey, fee_sat=their_fee, drop_remote=False)
       -            if not verify_signature(closing_tx, their_sig):
       +            if verify_signature(closing_tx, their_sig):
                        drop_remote = False
                    else:
                        our_sig, closing_tx = chan.make_closing_tx(our_scriptpubkey, their_scriptpubkey, fee_sat=their_fee, drop_remote=True)
       -                if not verify_signature(closing_tx, their_sig):
       +                if verify_signature(closing_tx, their_sig):
                            drop_remote = True
                        else:
                            raise Exception('failed to verify their signature')