diff --git a/plugins/src/lib.rs b/plugins/src/lib.rs index a0d29289d..8b8580df3 100644 --- a/plugins/src/lib.rs +++ b/plugins/src/lib.rs @@ -495,6 +495,12 @@ where .next() .map(|co| co.value.clone().unwrap_or(co.default().clone())) } + + /// return the cln configuration send to the + /// plugin after the initialization. + pub fn configuration(&self) -> Configuration { + self.configuration.clone() + } } impl PluginDriver