Skip to content

Commit 9658805

Browse files
committed
Fix build warnings
1 parent 80c1a0b commit 9658805

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
@@ -2682,6 +2682,7 @@ mod tests {
26822682

26832683
#[cfg(feature = "std")]
26842684
use std::net::{Ipv4Addr, Ipv6Addr};
2685+
#[cfg(feature = "std")]
26852686
use crate::ln::msgs::SocketAddressParseError;
26862687

26872688
#[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)