1
0

lnbase: fix bug in message parsing

This commit is contained in:
ThomasV
2018-04-26 18:58:54 +02:00
parent 7176b0834c
commit 71eacb4eab

View File

@@ -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"]