cln-plugin: Save "configuration" from "init" method

This commit is contained in:
Justin Moon
2022-05-20 16:20:24 -05:00
committed by Christian Decker
parent 9a880a0932
commit 14483901cd
2 changed files with 18 additions and 1 deletions

View File

@@ -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)]