URI: 
       tfollow up 0b3a882e7d57c8a42be48c491a46dc814eab6acb - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 11c6fce7bf68d1acbdddf38ee789689fb1522a29
   DIR parent 2ae4b1862d3f0332230f915ea995f76b37ea6664
  HTML Author: ThomasV <thomasv@electrum.org>
       Date:   Tue,  5 Jun 2018 17:06:30 +0200
       
       follow up 0b3a882e7d57c8a42be48c491a46dc814eab6acb
       
       Diffstat:
         M lib/lnbase.py                       |       3 ++-
       
       1 file changed, 2 insertions(+), 1 deletion(-)
       ---
   DIR diff --git a/lib/lnbase.py b/lib/lnbase.py
       t@@ -42,7 +42,8 @@ from collections import namedtuple, defaultdict
        
        def channel_id_from_funding_tx(funding_txid, funding_index):
            funding_txid_bytes = bytes.fromhex(funding_txid)[::-1]
       -    return int.from_bytes(funding_txid_bytes, 'big') ^ funding_index, funding_txid_bytes
       +    i = int.from_bytes(funding_txid_bytes, 'big') ^ funding_index
       +    return i.to_bytes(32, 'big'), funding_txid_bytes
        
        class LightningError(Exception):
            pass