File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed 
lightning-liquidity/src/lsps2 Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change 7272	pending_messages :  Arc < MessageQueue > , 
7373	pending_events :  Arc < EventQueue > , 
7474	per_peer_state :  RwLock < HashMap < PublicKey ,  Mutex < PeerState > > > , 
75- 	_config :  LSPS2ClientConfig , 
75+ 	config :  LSPS2ClientConfig , 
7676} 
7777
7878impl < ES :  Deref >  LSPS2ClientHandler < ES > 
@@ -82,17 +82,22 @@ where
8282	/// Constructs an `LSPS2ClientHandler`. 
8383 	pub ( crate )  fn  new ( 
8484		entropy_source :  ES ,  pending_messages :  Arc < MessageQueue > ,  pending_events :  Arc < EventQueue > , 
85- 		_config :  LSPS2ClientConfig , 
85+ 		config :  LSPS2ClientConfig , 
8686	)  -> Self  { 
8787		Self  { 
8888			entropy_source, 
8989			pending_messages, 
9090			pending_events, 
9191			per_peer_state :  RwLock :: new ( new_hash_map ( ) ) , 
92- 			_config , 
92+ 			config , 
9393		} 
9494	} 
9595
96+ 	/// Returns a reference to the used config. 
97+  	pub  fn  config ( & self )  -> & LSPS2ClientConfig  { 
98+ 		& self . config 
99+ 	} 
100+ 
96101	/// Request the channel opening parameters from the LSP. 
97102 	/// 
98103 	/// This initiates the JIT-channel flow that, at the end of it, will have the LSP 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments