Skip to content

Commit 6a97f64

Browse files
committed
Fix build warnings
1 parent 6d2ffdd commit 6a97f64

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

lightning/src/ln/msgs.rs

+1
Original file line numberDiff line numberDiff line change
@@ -2715,6 +2715,7 @@ mod tests {
27152715

27162716
#[cfg(feature = "std")]
27172717
use std::net::{Ipv4Addr, Ipv6Addr, SocketAddr, SocketAddrV4, SocketAddrV6, ToSocketAddrs};
2718+
#[cfg(feature = "std")]
27182719
use crate::ln::msgs::SocketAddressParseError;
27192720

27202721
#[test]

lightning/src/ln/outbound_payment.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1823,6 +1823,7 @@ mod tests {
18231823
use crate::ln::features::{ChannelFeatures, NodeFeatures};
18241824
use crate::ln::msgs::{ErrorAction, LightningError};
18251825
use crate::ln::outbound_payment::{Bolt12PaymentError, OutboundPayments, Retry, RetryableSendFailure, StaleExpiration};
1826+
#[cfg(feature = "std")]
18261827
use crate::offers::invoice::DEFAULT_RELATIVE_EXPIRY;
18271828
use crate::offers::offer::OfferBuilder;
18281829
use crate::offers::test_utils::*;

0 commit comments

Comments
 (0)