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