Fix build warnings

This commit is contained in:
Jeffrey Czyz 2023-10-19 18:02:58 -05:00
parent 6d2ffdd8bd
commit 6a97f648d3
No known key found for this signature in database
GPG key ID: 3A4E08275D5E96D2
2 changed files with 2 additions and 0 deletions

View file

@ -2715,6 +2715,7 @@ mod tests {
#[cfg(feature = "std")]
use std::net::{Ipv4Addr, Ipv6Addr, SocketAddr, SocketAddrV4, SocketAddrV6, ToSocketAddrs};
#[cfg(feature = "std")]
use crate::ln::msgs::SocketAddressParseError;
#[test]

View file

@ -1823,6 +1823,7 @@ mod tests {
use crate::ln::features::{ChannelFeatures, NodeFeatures};
use crate::ln::msgs::{ErrorAction, LightningError};
use crate::ln::outbound_payment::{Bolt12PaymentError, OutboundPayments, Retry, RetryableSendFailure, StaleExpiration};
#[cfg(feature = "std")]
use crate::offers::invoice::DEFAULT_RELATIVE_EXPIRY;
use crate::offers::offer::OfferBuilder;
use crate::offers::test_utils::*;