mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-20 07:34:24 +01:00
TLVs have an implicit `len` field, so allow expressions containing that (eg. `len-1`), but assume it means "the remainder of the message". This means in most places, f.size() needs an fallback for the implicit-length case. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>