mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
Fix variable typo in generate-wire.py
This commit is contained in:
committed by
Christian Decker
parent
bb12c234f2
commit
160f9b06a5
@@ -446,7 +446,7 @@ class Message(object):
|
|||||||
subcalls.append('\t\t{} v;'.format(f.fieldtype.name))
|
subcalls.append('\t\t{} v;'.format(f.fieldtype.name))
|
||||||
if f.fieldtype.is_assignable():
|
if f.fieldtype.is_assignable():
|
||||||
subcalls.append('\t\tv = fromwire_{}(&cursor, plen);'
|
subcalls.append('\t\tv = fromwire_{}(&cursor, plen);'
|
||||||
.format(name, basetype))
|
.format(f.fieldtype.name, basetype))
|
||||||
else:
|
else:
|
||||||
# We don't handle this yet!
|
# We don't handle this yet!
|
||||||
assert(basetype not in varlen_structs)
|
assert(basetype not in varlen_structs)
|
||||||
|
|||||||
Reference in New Issue
Block a user