Remove stale comments

This commit is contained in:
rishflab 2020-11-03 11:05:39 +11:00
parent 5971ef1f28
commit 249f273d1b
3 changed files with 1 additions and 4 deletions

View File

@ -7,7 +7,6 @@ pub mod bob;
pub mod monero; pub mod monero;
pub mod network; pub mod network;
pub mod storage; pub mod storage;
//#[cfg(feature = "tor")]
pub mod tor; pub mod tor;
const REFUND_TIMELOCK: u32 = 10; // Relative timelock, this is number of blocks. TODO: What should it be? const REFUND_TIMELOCK: u32 = 10; // Relative timelock, this is number of blocks. TODO: What should it be?

View File

@ -14,7 +14,7 @@
use anyhow::Result; use anyhow::Result;
use futures::{channel::mpsc, StreamExt}; use futures::{channel::mpsc, StreamExt};
use libp2p::core::Multiaddr; use libp2p::Multiaddr;
use log::LevelFilter; use log::LevelFilter;
use std::{io, io::Write, process, sync::Arc}; use std::{io, io::Write, process, sync::Arc};
use structopt::StructOpt; use structopt::StructOpt;

View File

@ -18,7 +18,6 @@ use libp2p::{
/// - DNS name resolution /// - DNS name resolution
/// - authentication via noise /// - authentication via noise
/// - multiplexing via yamux or mplex /// - multiplexing via yamux or mplex
/// #[cfg(not(feature = "tor"))]
pub fn build(id_keys: identity::Keypair) -> Result<SwapTransport> { pub fn build(id_keys: identity::Keypair) -> Result<SwapTransport> {
use libp2p::tcp::TokioTcpConfig; use libp2p::tcp::TokioTcpConfig;
@ -45,7 +44,6 @@ pub fn build(id_keys: identity::Keypair) -> Result<SwapTransport> {
/// - DNS name resolution /// - DNS name resolution
/// - authentication via noise /// - authentication via noise
/// - multiplexing via yamux or mplex /// - multiplexing via yamux or mplex
// #[cfg(feature = "tor")]
pub fn build_tor( pub fn build_tor(
id_keys: identity::Keypair, id_keys: identity::Keypair,
addr: libp2p::core::Multiaddr, addr: libp2p::core::Multiaddr,