Skip to content

Commit b92b51f

Browse files
committed
Add some ticks in surrounding docs
1 parent d165c76 commit b92b51f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lightning/src/ln/peer_handler.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -730,9 +730,9 @@ impl<Descriptor: SocketDescriptor, CM: Deref, RM: Deref, OM: Deref, L: Deref, CM
730730

731731
/// Get the list of node ids for peers which have completed the initial handshake.
732732
///
733-
/// For outbound connections, this will be the same as the their_node_id parameter passed in to
734-
/// new_outbound_connection, however entries will only appear once the initial handshake has
735-
/// completed and we are sure the remote peer has the private key for the given node_id.
733+
/// For outbound connections, this will be the same as the `their_node_id` parameter passed in to
734+
/// `new_outbound_connection`, however entries will only appear once the initial handshake has
735+
/// completed and we are sure the remote peer has the private key for the given `node_id`.
736736
pub fn get_peer_node_ids(&self) -> Vec<PublicKey> {
737737
let peers = self.peers.read().unwrap();
738738
peers.values().filter_map(|peer_mutex| {
@@ -770,7 +770,7 @@ impl<Descriptor: SocketDescriptor, CM: Deref, RM: Deref, OM: Deref, L: Deref, CM
770770
SecretKey::from_slice(&Sha256::from_engine(ephemeral_hash).into_inner()).expect("You broke SHA-256!")
771771
}
772772

773-
/// Indicates a new outbound connection has been established to a node with the given node_id
773+
/// Indicates a new outbound connection has been established to a node with the given `node_id`
774774
/// and an optional remote network address.
775775
///
776776
/// The remote network address adds the option to report a remote IP address back to a connecting

0 commit comments

Comments
 (0)