Skip to content

Commit f93caae

Browse files
committed
Add config accessor to LSPS2ServiceHandler
1 parent 4615cd8 commit f93caae

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lightning-liquidity/src/lsps2/service.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -586,6 +586,11 @@ where
586586
}
587587
}
588588

589+
/// Returns a reference to the used config.
590+
pub fn config(&self) -> &LSPS2ServiceConfig {
591+
&self.config
592+
}
593+
589594
/// Used by LSP to inform a client requesting a JIT Channel the token they used is invalid.
590595
///
591596
/// Should be called in response to receiving a [`LSPS2ServiceEvent::GetInfo`] event.

0 commit comments

Comments
 (0)