Skip to content

Commit 340fbce

Browse files
committed
Fix unused_imports warning in no-std tests
1 parent 3fea464 commit 340fbce

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lightning/src/routing/gossip.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1935,6 +1935,7 @@ mod tests {
19351935
use crate::chain;
19361936
use crate::ln::channelmanager;
19371937
use crate::ln::chan_utils::make_funding_redeemscript;
1938+
#[cfg(feature = "std")]
19381939
use crate::ln::features::InitFeatures;
19391940
use crate::routing::gossip::{P2PGossipSync, NetworkGraph, NetworkUpdate, NodeAlias, MAX_EXCESS_BYTES_FOR_RELAY, NodeId, RoutingFees, ChannelUpdateInfo, ChannelInfo, NodeAnnouncementInfo, NodeInfo};
19401941
use crate::ln::msgs::{RoutingMessageHandler, UnsignedNodeAnnouncement, NodeAnnouncement,

0 commit comments

Comments
 (0)