Skip to content

Commit

Permalink
fix(ecies): ecies typo (paradigmxyz#12155)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rjected authored Oct 29, 2024
1 parent cc2a33c commit b48fa68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/net/network/src/session/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -868,7 +868,7 @@ async fn authenticate(
extra_handlers: RlpxSubProtocolHandlers,
) {
let local_addr = stream.local_addr().ok();
let stream = match get_eciess_stream(stream, secret_key, direction).await {
let stream = match get_ecies_stream(stream, secret_key, direction).await {
Ok(stream) => stream,
Err(error) => {
let _ = events
Expand Down Expand Up @@ -917,7 +917,7 @@ async fn authenticate(

/// Returns an [`ECIESStream`] if it can be built. If not, send a
/// [`PendingSessionEvent::EciesAuthError`] and returns `None`
async fn get_eciess_stream<Io: AsyncRead + AsyncWrite + Unpin>(
async fn get_ecies_stream<Io: AsyncRead + AsyncWrite + Unpin>(
stream: Io,
secret_key: SecretKey,
direction: Direction,
Expand Down

0 comments on commit b48fa68

Please sign in to comment.