URI: 
       tlnbase: fix bug in message parsing - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 71eacb4eabf9b99ba743b07d43da6facc5483fd6
   DIR parent 7176b0834c3f128cdec2b2b95fe15644e5dd449e
  HTML Author: ThomasV <thomasv@electrum.org>
       Date:   Thu, 26 Apr 2018 18:58:54 +0200
       
       lnbase: fix bug in message parsing
       
       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@@ -112,7 +112,8 @@ def make_handler(k, v):
                pos = 0
                for fieldname in v["payload"]:
                    poslenMap = v["payload"][fieldname]
       -            if "feature" in poslenMap: continue
       +            if "feature" in poslenMap and pos==len(data):
       +                continue
                    #print(poslenMap["position"], ma)
                    assert pos == calcexp(poslenMap["position"], ma)
                    length = poslenMap["length"]