]> git.bitcoin.ninja Git - rust-lightning/commit
Unset the optional bit for a feature when setting the required bit
authorMatt Corallo <git@bluematt.me>
Tue, 21 Dec 2021 05:23:51 +0000 (05:23 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 26 Jan 2022 19:08:58 +0000 (19:08 +0000)
commitcb823059fec283851f67cf53455ccdeafb29acba
tree0351ddc67184cd32ee3dce93ed2d15e0082a7aa9
parent1c1fc456bc20994c3d51b89fd7a16c90945b9a68
Unset the optional bit for a feature when setting the required bit

There is no reason to set both, and this currently makes testing
the new BOLT invoice tests slightly harder, so we just unset it.
lightning/src/ln/features.rs