mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-20 15:44:21 +01:00
cln-plugin: Add options to the getmanifest call
This commit is contained in:
committed by
Rusty Russell
parent
fe21b89b56
commit
249fa8675a
@@ -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)]
|
||||
|
||||
Reference in New Issue
Block a user