Skip to content

Commit

Permalink
Document that connect_isolated only works on mainnet
Browse files Browse the repository at this point in the history
Document that connect_isolated only works on mainnet.

See #1687.
  • Loading branch information
teor2345 authored and dconnolly committed Feb 4, 2021
1 parent bf42e46 commit 1e156a5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions zebra-network/src/isolated.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ use crate::{peer, BoxError, Config, Request, Response};
/// connection allows this method to be used with clearnet or Tor transports.
///
/// - `user_agent`: a valid BIP14 user-agent, e.g., the empty string.
///
/// # Bug
///
/// `connect_isolated` only works on `Mainnet`, see #1687.
pub fn connect_isolated(
conn: TcpStream,
user_agent: String,
Expand Down

0 comments on commit 1e156a5

Please sign in to comment.