diff --git a/ci/ci-tests.sh b/ci/ci-tests.sh index 47f0621683c..ed2efbaad2d 100755 --- a/ci/ci-tests.sh +++ b/ci/ci-tests.sh @@ -56,6 +56,10 @@ for DIR in "${WORKSPACE_MEMBERS[@]}"; do cargo doc -p "$DIR" --document-private-items done +echo -e "\n\nChecking and testing lightning crate with dnssec feature" +cargo test -p lightning --verbose --color always --features dnssec +cargo check -p lightning --verbose --color always --features dnssec + echo -e "\n\nChecking and testing Block Sync Clients with features" cargo test -p lightning-block-sync --verbose --color always --features rest-client diff --git a/fuzz/src/onion_message.rs b/fuzz/src/onion_message.rs index 5cd45238df2..cf87467a5ea 100644 --- a/fuzz/src/onion_message.rs +++ b/fuzz/src/onion_message.rs @@ -11,6 +11,7 @@ use lightning::blinded_path::message::{ use lightning::blinded_path::EmptyNodeIdLookUp; use lightning::ln::features::InitFeatures; use lightning::ln::msgs::{self, DecodeError, OnionMessageHandler}; +use lightning::ln::peer_handler::IgnoringMessageHandler; use lightning::ln::script::ShutdownScript; use lightning::offers::invoice::UnsignedBolt12Invoice; use lightning::offers::invoice_request::UnsignedInvoiceRequest; @@ -56,6 +57,7 @@ pub fn do_test(data: &[u8], logger: &L) { &message_router, &offers_msg_handler, &async_payments_msg_handler, + IgnoringMessageHandler {}, // TODO: Move to ChannelManager once it supports DNSSEC. &custom_msg_handler, ); diff --git a/lightning-background-processor/src/lib.rs b/lightning-background-processor/src/lib.rs index fdeb46229a3..318dfcbbd7e 100644 --- a/lightning-background-processor/src/lib.rs +++ b/lightning-background-processor/src/lib.rs @@ -657,7 +657,7 @@ use futures_util::{dummy_waker, OptionalSelector, Selector, SelectorOutput}; /// # type NetworkGraph = lightning::routing::gossip::NetworkGraph>; /// # type P2PGossipSync