[docs] fix NetworkMessage::Ping docs link

This commit is contained in:
Riccardo Casatta 2020-12-16 12:06:09 +01:00
parent 5f373180ff
commit 680aa2aaf4
No known key found for this signature in database
GPG Key ID: FD986A969E450397

View File

@ -108,7 +108,7 @@ impl Peer {
/// Connect to a peer over a plaintext TCP connection
///
/// This function internally spawns a new thread that will monitor incoming messages from the
/// peer, and optionally reply to some of them transparently, like [pings](NetworkMessage::Ping)
/// peer, and optionally reply to some of them transparently, like [pings](bitcoin::network::message::NetworkMessage::Ping)
pub fn connect<A: ToSocketAddrs>(
address: A,
mempool: Arc<Mempool>,