mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-21 08:04:26 +01:00
cln-plugin: Save "configuration" from "init" method
This commit is contained in:
committed by
Christian Decker
parent
9a880a0932
commit
14483901cd
@@ -1,4 +1,5 @@
|
||||
use crate::options::ConfigOption;
|
||||
use crate::Configuration;
|
||||
use serde::de::{self, Deserializer};
|
||||
use serde::{Deserialize, Serialize};
|
||||
use serde_json::Value;
|
||||
@@ -63,6 +64,7 @@ pub struct GetManifestCall {}
|
||||
#[derive(Deserialize, Debug)]
|
||||
pub(crate) struct InitCall {
|
||||
pub(crate) options: HashMap<String, Value>,
|
||||
pub(crate) configuration: Configuration,
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
|
||||
Reference in New Issue
Block a user