mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-21 08:04:26 +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:
committed by
Rusty Russell
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)
|
||||
|
||||
Reference in New Issue
Block a user