]> 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, 19 Apr 2023 02:57:19 +0000 (02:57 +0000)
commit1b29a55e17b50ab86edef70d4d9e1feb27af839a
tree9b236144601049d82e3f7db4762085b77e0d7c31
parent35b597a4c27e54fcdd1feeb1c7dc77356c45c11b
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