mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-12-01 04:56:41 -05:00
fix: add data_dir to config to make config command work
This commit is contained in:
parent
250764ed30
commit
dc8982731c
3 changed files with 11 additions and 12 deletions
|
|
@ -26,6 +26,7 @@ pub struct Config {
|
|||
seed: Option<Seed>,
|
||||
debug: bool,
|
||||
json: bool,
|
||||
data_dir: PathBuf,
|
||||
pub is_testnet: bool,
|
||||
}
|
||||
|
||||
|
|
@ -109,6 +110,7 @@ impl Context {
|
|||
debug,
|
||||
json,
|
||||
is_testnet,
|
||||
data_dir,
|
||||
},
|
||||
shutdown: Arc::new(shutdown),
|
||||
running_swap: Arc::new(Mutex::new(false)),
|
||||
|
|
@ -238,6 +240,7 @@ pub mod api_test {
|
|||
debug,
|
||||
json,
|
||||
is_testnet,
|
||||
data_dir
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue