cln-plugin: Add options to the getmanifest call

This commit is contained in:
Christian Decker
2022-02-07 11:00:08 +01:00
committed by Rusty Russell
parent fe21b89b56
commit 249fa8675a
5 changed files with 183 additions and 18 deletions

View File

@@ -1,3 +1,4 @@
use crate::options::ConfigOption;
use serde::de::{self, Deserializer};
use serde::{Deserialize, Serialize};
use serde_json::Value;
@@ -149,9 +150,9 @@ where
}
#[derive(Serialize, Default, Debug)]
pub struct GetManifestResponse {
options: Vec<()>,
rpcmethods: Vec<()>,
pub(crate) struct GetManifestResponse {
pub(crate) options: Vec<ConfigOption>,
pub(crate) rpcmethods: Vec<()>,
}
#[derive(Serialize, Default, Debug)]