File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
lightning-liquidity/src/lsps1 Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 54
54
pending_messages : Arc < MessageQueue > ,
55
55
pending_events : Arc < EventQueue > ,
56
56
per_peer_state : RwLock < HashMap < PublicKey , Mutex < PeerState > > > ,
57
- _config : LSPS1ClientConfig ,
57
+ config : LSPS1ClientConfig ,
58
58
}
59
59
60
60
impl < ES : Deref > LSPS1ClientHandler < ES >
@@ -71,10 +71,15 @@ where
71
71
pending_messages,
72
72
pending_events,
73
73
per_peer_state : RwLock :: new ( new_hash_map ( ) ) ,
74
- _config : config,
74
+ config,
75
75
}
76
76
}
77
77
78
+ /// Returns a reference to the used config.
79
+ pub fn config ( & self ) -> & LSPS1ClientConfig {
80
+ & self . config
81
+ }
82
+
78
83
/// Request the supported options from the LSP.
79
84
///
80
85
/// The user will receive the LSP's response via an [`SupportedOptionsReady`] event.
You can’t perform that action at this time.
0 commit comments