core-lightning/tools/gen
Rusty Russell 897c53ce1c tools/generate-wire.py: fix loop logic for towire_xxx_array
has_len_fields() doesn't cover our blacklist of variable types, so if
we have an array of them, this logic is wrong.  This happens in the
the bolt13 patch:

```C
struct tlv_offer_tlvs_blindedpath {
        struct pubkey blinding;
        struct onionmsg_path **path;
};
```

Before:
wire/gen_bolt13_tlv.c:
```C
		for (size_t i = 0; i < tal_count(r->blindedpath->path); i++)
		towire_onionmsg_path(&ptr, r->blindedpath->path + i);
```
After:
```C
		for (size_t i = 0; i < tal_count(r->blindedpath->path); i++)
		towire_onionmsg_path(&ptr, r->blindedpath->path[i]);
```

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2020-09-02 09:46:37 +09:30
..
header_template tools/generate-wire.py: fix varsize assignment. 2020-09-02 09:46:37 +09:30
impl_template tools/generate-wire.py: fix loop logic for towire_xxx_array 2020-09-02 09:46:37 +09:30
print_header_template tools: fix comment in template. 2020-08-25 12:53:13 +09:30
print_impl_template tools: fix comment in template. 2020-08-25 12:53:13 +09:30