tools/generate-wire: node_announcement.alias is not an sha256
It's 32 bytes long, but it's just a string. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
a08a2105ea
commit
326a9c9477
|
@ -59,6 +59,9 @@ class Field(object):
|
|||
if message == 'node_announcement' and fieldname == 'ipv6':
|
||||
return ('struct ipv6',16)
|
||||
|
||||
if message == 'node_announcement' and fieldname == 'alias':
|
||||
return ('u8',1)
|
||||
|
||||
if fieldname.endswith('features'):
|
||||
return ('u8',1)
|
||||
|
||||
|
|
Loading…
Reference in New Issue