11use crate :: types:: { DynStore , Sweeper , Wallet } ;
22
3- use crate :: {
4- hex_utils, ChannelManager , Config , Error , NetworkGraph , PeerInfo , PeerStore , UserChannelId ,
5- } ;
3+ use crate :: { hex_utils, ChannelManager , Config , Error , Graph , PeerInfo , PeerStore , UserChannelId } ;
64
75use crate :: connection:: ConnectionManager ;
86
@@ -320,7 +318,7 @@ where
320318 channel_manager : Arc < ChannelManager > ,
321319 connection_manager : Arc < ConnectionManager < L > > ,
322320 output_sweeper : Arc < Sweeper > ,
323- network_graph : Arc < NetworkGraph > ,
321+ network_graph : Arc < Graph > ,
324322 payment_store : Arc < PaymentStore < L > > ,
325323 peer_store : Arc < PeerStore < L > > ,
326324 runtime : Arc < RwLock < Option < tokio:: runtime:: Runtime > > > ,
@@ -335,7 +333,7 @@ where
335333 pub fn new (
336334 event_queue : Arc < EventQueue < L > > , wallet : Arc < Wallet > , channel_manager : Arc < ChannelManager > ,
337335 connection_manager : Arc < ConnectionManager < L > > , output_sweeper : Arc < Sweeper > ,
338- network_graph : Arc < NetworkGraph > , payment_store : Arc < PaymentStore < L > > ,
336+ network_graph : Arc < Graph > , payment_store : Arc < PaymentStore < L > > ,
339337 peer_store : Arc < PeerStore < L > > , runtime : Arc < RwLock < Option < tokio:: runtime:: Runtime > > > ,
340338 logger : L , config : Arc < Config > ,
341339 ) -> Self {
0 commit comments