diff --git a/lightning-liquidity/src/lsps2/service.rs b/lightning-liquidity/src/lsps2/service.rs index 896cd9ae3..9929ac3ee 100644 --- a/lightning-liquidity/src/lsps2/service.rs +++ b/lightning-liquidity/src/lsps2/service.rs @@ -586,6 +586,11 @@ where } } + /// Returns a reference to the used config. + pub fn config(&self) -> &LSPS2ServiceConfig { + &self.config + } + /// Used by LSP to inform a client requesting a JIT Channel the token they used is invalid. /// /// Should be called in response to receiving a [`LSPS2ServiceEvent::GetInfo`] event.