Browse Source

trivial: Add `addresses` field to generate-wire.py

It was failing the compile if we had a recent enough spec.
ppa-0.6.1
Christian Decker 8 years ago
committed by Rusty Russell
parent
commit
811fab4850
  1. 3
      wire/tools/generate-wire.py

3
wire/tools/generate-wire.py

@ -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…
Cancel
Save