Skip to content

Commit 153643c

Browse files
committed
Add config accessor to LSPS1ServiceHandler
1 parent 5ec6819 commit 153643c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lightning-liquidity/src/lsps1/service.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,11 @@ where
166166
}
167167
}
168168

169+
/// Returns a reference to the used config.
170+
pub fn config(&self) -> &LSPS1ServiceConfig {
171+
&self.config
172+
}
173+
169174
fn handle_get_info_request(
170175
&self, request_id: LSPSRequestId, counterparty_node_id: &PublicKey,
171176
) -> Result<(), LightningError> {

0 commit comments

Comments
 (0)