Skip to content

Commit b48fa68

Browse files
authored
fix(ecies): ecies typo (paradigmxyz#12155)
1 parent cc2a33c commit b48fa68

File tree

1 file changed

+2
-2
lines changed
  • crates/net/network/src/session

1 file changed

+2
-2
lines changed

crates/net/network/src/session/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -868,7 +868,7 @@ async fn authenticate(
868868
extra_handlers: RlpxSubProtocolHandlers,
869869
) {
870870
let local_addr = stream.local_addr().ok();
871-
let stream = match get_eciess_stream(stream, secret_key, direction).await {
871+
let stream = match get_ecies_stream(stream, secret_key, direction).await {
872872
Ok(stream) => stream,
873873
Err(error) => {
874874
let _ = events
@@ -917,7 +917,7 @@ async fn authenticate(
917917

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

0 commit comments

Comments
 (0)