mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-11-30 20:46:33 -05:00
set server listen address manually and return file locations in JSON on Config
This commit is contained in:
parent
dc8982731c
commit
41399ab015
3 changed files with 18 additions and 6 deletions
|
|
@ -96,7 +96,7 @@ impl Context {
|
|||
let _ = cli::tracing::init(debug, json, data_dir.join("logs"), None);
|
||||
});
|
||||
|
||||
let init = Context {
|
||||
let context = Context {
|
||||
db: open_db(data_dir.join("sqlite")).await?,
|
||||
bitcoin_wallet,
|
||||
monero_wallet,
|
||||
|
|
@ -116,7 +116,7 @@ impl Context {
|
|||
running_swap: Arc::new(Mutex::new(false)),
|
||||
};
|
||||
|
||||
Ok(init)
|
||||
Ok(context)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue