]> git.bitcoin.ninja Git - rust-lightning/commit
Move `{REQUIRED,OPTIONAL}_FEATURES` masks to module-level consts
authorElias Rohrer <dev@tnull.de>
Fri, 12 Apr 2024 08:19:05 +0000 (10:19 +0200)
committerElias Rohrer <dev@tnull.de>
Mon, 15 Apr 2024 15:41:29 +0000 (17:41 +0200)
commit44cf6928da3462fb87e018019bfe1ee4c2085bd4
treea7bd9442523cc49cdac9f9219b95e004ca59e358
parent446c007939089d2e9bfd3e055149c85204d841b4
Move `{REQUIRED,OPTIONAL}_FEATURES` masks to module-level consts

.. which allows to DRY up their usage in several places.
lightning/src/ln/features.rs