added helper error enums for L1BlockInfoError (#14326)

This commit is contained in:
Poulav Bhowmick
2025-02-09 20:03:09 +05:30
committed by GitHub
parent 104bd6e039
commit 21370c3911
4 changed files with 87 additions and 96 deletions

View File

@ -790,7 +790,7 @@ impl PeersManager {
/// Connects a peer and its address with the given kind.
///
/// Note: This is invoked ond demand via an external command received by the manager
/// Note: This is invoked on demand via an external command received by the manager
pub(crate) fn add_and_connect_kind(
&mut self,
peer_id: PeerId,

View File

@ -774,7 +774,7 @@ impl NetworkEventStream {
Some(peer_id)
}
/// Awaits the next event for a peer remvoed.
/// Awaits the next event for a peer removed.
pub async fn peer_removed(&mut self) -> Option<PeerId> {
let peer_id = match self.inner.next().await {
Some(NetworkEvent::Peer(PeerEvent::PeerRemoved(peer_id))) => peer_id,