*: Remove inject_connected / inject_disconnected from docs (#2805)

This commit is contained in:
Kourosh
2022-08-10 12:50:31 +04:30
committed by GitHub
parent 1012579d77
commit a4110a2b69
3 changed files with 11 additions and 16 deletions

View File

@ -3335,7 +3335,7 @@ where
));
} else if let Some(conn) = self.connected_peers.get_mut(&propagation_source) {
// Only change the value if the old value is Floodsub (the default set in
// inject_connected). All other PeerKind changes are ignored.
// inject_connection_established). All other PeerKind changes are ignored.
debug!(
"New peer type found: {} for peer: {}",
kind, propagation_source