mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-18 05:12:45 +01:00
trivial: Add addresses
field to generate-wire.py
It was failing the compile if we had a recent enough spec.
This commit is contained in:
parent
a44e4fb631
commit
811fab4850
@ -62,6 +62,9 @@ class Field(object):
|
||||
if fieldname.endswith('features'):
|
||||
return ('u8',1)
|
||||
|
||||
if fieldname == 'addresses':
|
||||
return ('u8', 1)
|
||||
|
||||
# We translate signatures and pubkeys.
|
||||
if 'signature' in fieldname:
|
||||
return ('struct signature',64)
|
||||
|
Loading…
Reference in New Issue
Block a user