Skip to content

Commit

Permalink
Update core/src/nodes/protocols_handler.rs
Browse files Browse the repository at this point in the history
Co-Authored-By: tomaka <[email protected]>
  • Loading branch information
jamesray1 and tomaka authored Oct 29, 2018
1 parent d77f092 commit d1c9bcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/nodes/protocols_handler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ pub trait ProtocolsHandler {
/// Produces a `ConnectionUpgrade` for the protocol or protocols to accept when listening.
///
/// > **Note**: You should always accept all the protocols you support, even if in a specific
/// > context you wouldn't accept one in particular (eg. only allow one substream at
/// > context you wouldn't accept one in particular (e.g. only allow one substream at
/// > a time for a given protocol). The reason is that remotes are allowed to put the
/// > list of supported protocols in a cache in order to avoid spurious queries.
fn listen_protocol(&self) -> Self::Protocol;
Expand Down

0 comments on commit d1c9bcf

Please sign in to comment.