URI: 
       tlnbase: fix sig encoding in mutual close - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 60508725b6745edb7d1a5f961e5e88285ccfc390
   DIR parent 3975560db56262e08d17c97ccd93179220bc0cfe
  HTML Author: Janus <ysangkok@gmail.com>
       Date:   Thu, 20 Dec 2018 20:26:31 +0100
       
       lnbase: fix sig encoding in mutual close
       
       Diffstat:
         M electrum/lnbase.py                  |       4 ++--
       
       1 file changed, 2 insertions(+), 2 deletions(-)
       ---
   DIR diff --git a/electrum/lnbase.py b/electrum/lnbase.py
       t@@ -1197,8 +1197,8 @@ class Peer(PrintError):
                    our_fee = their_fee
                # add their signature
                i = chan.get_local_index()
       -        closing_tx.add_signature_to_txin(0, i, bh2u(our_sig))
       -        closing_tx.add_signature_to_txin(0, 1-i, bh2u(their_sig))
       +        closing_tx.add_signature_to_txin(0, i, bh2u(der_sig_from_sig_string(our_sig) + b'\x01'))
       +        closing_tx.add_signature_to_txin(0, 1-i, bh2u(der_sig_from_sig_string(their_sig) + b'\x01'))
                # broadcast
                await self.network.broadcast_transaction(closing_tx)
                return closing_tx.txid()