mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-12-24 15:09:35 -05:00
Remove stale comments
This commit is contained in:
parent
5971ef1f28
commit
249f273d1b
@ -7,7 +7,6 @@ pub mod bob;
|
||||
pub mod monero;
|
||||
pub mod network;
|
||||
pub mod storage;
|
||||
//#[cfg(feature = "tor")]
|
||||
pub mod tor;
|
||||
|
||||
const REFUND_TIMELOCK: u32 = 10; // Relative timelock, this is number of blocks. TODO: What should it be?
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
use anyhow::Result;
|
||||
use futures::{channel::mpsc, StreamExt};
|
||||
use libp2p::core::Multiaddr;
|
||||
use libp2p::Multiaddr;
|
||||
use log::LevelFilter;
|
||||
use std::{io, io::Write, process, sync::Arc};
|
||||
use structopt::StructOpt;
|
||||
|
@ -18,7 +18,6 @@ use libp2p::{
|
||||
/// - DNS name resolution
|
||||
/// - authentication via noise
|
||||
/// - multiplexing via yamux or mplex
|
||||
/// #[cfg(not(feature = "tor"))]
|
||||
pub fn build(id_keys: identity::Keypair) -> Result<SwapTransport> {
|
||||
use libp2p::tcp::TokioTcpConfig;
|
||||
|
||||
@ -45,7 +44,6 @@ pub fn build(id_keys: identity::Keypair) -> Result<SwapTransport> {
|
||||
/// - DNS name resolution
|
||||
/// - authentication via noise
|
||||
/// - multiplexing via yamux or mplex
|
||||
// #[cfg(feature = "tor")]
|
||||
pub fn build_tor(
|
||||
id_keys: identity::Keypair,
|
||||
addr: libp2p::core::Multiaddr,
|
||||
|
Loading…
Reference in New Issue
Block a user