Check entire TLV stream instead of by field
authorJeffrey Czyz <jkczyz@gmail.com>
Fri, 9 Dec 2022 20:45:56 +0000 (14:45 -0600)
committerJeffrey Czyz <jkczyz@gmail.com>
Fri, 9 Dec 2022 20:45:56 +0000 (14:45 -0600)
commit04d64f08087788d2ceafd842fe1e7e2ef4e8f275
tree489d36fc5d1318dc9f4d77de420525eabe46ccfb
parentb25c8df648aa749de9b3f8ef42fa6d5b6dad42c8
Check entire TLV stream instead of by field

This causes a compilation error if a new field is added but missed in
the tests.
lightning/src/offers/invoice_request.rs
lightning/src/offers/offer.rs
lightning/src/util/ser_macros.rs