|
@@ -36,20 +36,12 @@ pub struct Params {
|
|
|
}
|
|
|
|
|
|
/// Check state Settings
|
|
|
-#[derive(Debug, Clone, PartialEq, Eq, Hash, Serialize, Deserialize)]
|
|
|
+#[derive(Debug, Default, Clone, PartialEq, Eq, Hash, Serialize, Deserialize)]
|
|
|
pub struct SupportedSettings {
|
|
|
/// Supported methods
|
|
|
pub supported: Vec<SupportedMethods>,
|
|
|
}
|
|
|
|
|
|
-impl Default for SupportedSettings {
|
|
|
- fn default() -> Self {
|
|
|
- SupportedSettings {
|
|
|
- supported: vec![SupportedMethods::default()],
|
|
|
- }
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
/// Supported WS Methods
|
|
|
#[derive(Debug, Clone, PartialEq, Eq, Hash, Serialize, Deserialize)]
|
|
|
pub struct SupportedMethods {
|
|
@@ -67,11 +59,7 @@ impl SupportedMethods {
|
|
|
Self {
|
|
|
method,
|
|
|
unit,
|
|
|
- commands: vec![
|
|
|
- "bolt11_mint_quote".to_owned(),
|
|
|
- "bolt11_melt_quote".to_owned(),
|
|
|
- "proof_state".to_owned(),
|
|
|
- ],
|
|
|
+ commands: Vec::new(),
|
|
|
}
|
|
|
}
|
|
|
}
|