bolt-gen: fixup broken subtype parsing

This commit is contained in:
lisa neigut
2019-07-17 17:25:44 -05:00
committed by Rusty Russell
parent 2524aeac3a
commit d7a68b75f1

View File

@@ -32,7 +32,7 @@ const char *${enum_set['name']}_name(int e);
% for struct in structs:
struct ${struct.struct_name()} {
% for f in struct.fields.values():
% if f.is_len_field:
% if bool(f.len_field_of):
<% continue %>
% endif
% if f.has_len_field():