]> git.bitcoin.ninja Git - rust-lightning/commit
Fix upgradable_required fields to actually be required in lower level macros
authorValentine Wallace <vwallace@protonmail.com>
Sun, 19 Feb 2023 21:52:22 +0000 (16:52 -0500)
committerValentine Wallace <vwallace@protonmail.com>
Sat, 25 Feb 2023 21:13:39 +0000 (16:13 -0500)
commit5d0ee867ea6c9670ebfe6004614e9ebaa7502c64
treec8ce6c18e91999d4cbb919881e5948f40a7a8bb6
parent70c7161dbead8e4b840e81caacd84e024f9eab21
Fix upgradable_required fields to actually be required in lower level macros

When using lower level macros such as read_tlv_stream, upgradable_required
fields have been treated as regular options. This is incorrect, they should
either be upgradable_options or treated as required fields.
lightning/src/chain/channelmonitor.rs
lightning/src/chain/onchaintx.rs
lightning/src/routing/gossip.rs
lightning/src/util/events.rs
lightning/src/util/ser.rs
lightning/src/util/ser_macros.rs