mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-02-21 14:14:30 +01:00
Add config
accessor to LSPS2ServiceHandler
This commit is contained in:
parent
4615cd89d2
commit
f93caaeada
1 changed files with 5 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue