From: Duncan Dean Date: Thu, 4 Jul 2024 15:08:16 +0000 (+0200) Subject: Fix CI for unused `PendingOnionMessage` X-Git-Tag: v0.0.124-beta~62^2 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=8400cfc0d8688b4ff366c0b68ca20b100d13ba37;p=rust-lightning Fix CI for unused `PendingOnionMessage` --- diff --git a/lightning/src/onion_message/async_payments.rs b/lightning/src/onion_message/async_payments.rs index f5953c636..d0200101f 100644 --- a/lightning/src/onion_message/async_payments.rs +++ b/lightning/src/onion_message/async_payments.rs @@ -11,6 +11,7 @@ use crate::io; use crate::ln::msgs::DecodeError; +#[cfg(not(c_bindings))] use crate::onion_message::messenger::PendingOnionMessage; use crate::onion_message::messenger::{Responder, ResponseInstruction}; use crate::onion_message::packet::OnionMessageContents;