]> git.bitcoin.ninja Git - rust-lightning/commit
Use a smaller bit for UnknownFeature
authorJeffrey Czyz <jkczyz@gmail.com>
Wed, 31 Jul 2024 20:12:40 +0000 (15:12 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Wed, 14 Aug 2024 15:55:55 +0000 (10:55 -0500)
commit05db67b5c3200adde275d562607da095e41eb8a4
tree5cc03546734b6045f18556927c47178c6e6d8080
parente4ca166e6298eb57d82d635854ca7cdee0d13279
Use a smaller bit for UnknownFeature

When testing Bolt12Invoice unknown require feature handling, a large
feature bit can cause SendError::TooBigPacket when creating an onion
message. Use a smaller feature bit for UnknownFeature, which also has
the added benefit of reducing test output.
lightning-types/src/features.rs