mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-11-30 20:46:33 -05:00
Extract transport creation and remove tor conditional compile
The numerous tor conditional compile flags were removed by extracting transport creation to the main statement. A tor transport is created if Alice specifies a tor port using the CLI.
This commit is contained in:
parent
0ca511bf8a
commit
796d0b3439
7 changed files with 101 additions and 128 deletions
|
|
@ -7,7 +7,7 @@ pub mod bob;
|
|||
pub mod monero;
|
||||
pub mod network;
|
||||
pub mod storage;
|
||||
#[cfg(feature = "tor")]
|
||||
//#[cfg(feature = "tor")]
|
||||
pub mod tor;
|
||||
|
||||
const REFUND_TIMELOCK: u32 = 10; // Relative timelock, this is number of blocks. TODO: What should it be?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue