Przeglądaj źródła

cli/cli_config: added 'clone' to cashierconfig. added db path

lunar-mining 4 lat temu
rodzic
commit
0532d873bf
1 zmienionych plików z 7 dodań i 1 usunięć
  1. 7 1
      src/cli/cli_config.rs

+ 7 - 1
src/cli/cli_config.rs

@@ -73,7 +73,7 @@ pub struct GatewaydConfig {
     pub log_path: String,
 }
 
-#[derive(Serialize, Deserialize, Debug)]
+#[derive(Clone, Serialize, Deserialize, Debug)]
 pub struct CashierdConfig {
     #[serde(rename = "accept_url")]
     pub accept_url: String,
@@ -87,6 +87,12 @@ pub struct CashierdConfig {
     #[serde(rename = "log_path")]
     pub log_path: String,
 
+    #[serde(rename = "database_path")]
+    pub database_path: String,
+
+    #[serde(rename = "cashierdb_path")]
+    pub cashierdb_path: String,
+
     #[serde(rename = "password")]
     pub password: String,